# NiceFish **Repository Path**: ajobc/NiceFish ## Basic Information - **Project Name**: NiceFish - **Description**: NiceFish(美人鱼)是一个系列教学项目,全面示范了Angular新版本在浏览器、移动端、Electron环境中的用法。 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: https://gitee.com/mumu-osc/NiceFish - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1614 - **Created**: 2017-09-11 - **Last Updated**: 2020-12-19 ## 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
- 【视频教程免费赠送】26 节,共 19 小时左右,如有需要请 VX 联系我,免费赠送。
## 开源许可证
MIT