# NiceFish **Repository Path**: linpub/NiceFish ## Basic Information - **Project Name**: NiceFish - **Description**: NiceFish(美人鱼) 是一个系列项目,目标是示范前后端分离模式下的项目组织方式:前端提供 浏览器 & 移动端 & Electron 实现;后端提供 SpringBoot & SpringCloud 实现。 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1614 - **Created**: 2021-03-30 - **Last Updated**: 2021-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
## 打包分析
以下是用 webpack-bundle-analyzer 分析打包之后的模块构成:
看起来CKEditor和ECharts占了很大的体积,需要做一下异步加载。
webpack-bundle-analyzer 使用方法:
- npm i webpack-bundle-analyzer --save-dev
- package.json 的 scripts 配置里面加一行 "bundle-report": "webpack-bundle-analyzer dist/stats.json"
- ng build --prod --stats-json 编译(--stats-json 选项会生成一份stats.json配置文件)
- 执行 npm run bundle-report 查看打包过程
## 学习资源
- 历次演讲中的所有 PPT 已经本项目对应的资料都在这里,您可以随意使用,https://gitee.com/mumu-osc/NiceFish/attach_files 。
- 这里有93篇文章,详细解析了这个项目,或许对你有用:https://gitbook.cn/gitchat/column/5bebdaf22c33167c317cc285
## 开源许可证
MIT