Development model:
modular
- Js modularization: Through module of ES6 technology, js code is modularized development
Reference link: es6.ruanyifeng.com/#docs/modul…
- CSS Modularity: Via CSS Modules (I haven’t used them)
Refer to the link: www.ruanyifeng.com/blog/2016/0…
componentization
- Through the VUE framework
- Through the React framework
The canonical
- Determine the directory structure based on development
- ESLint determines the basic specification for writing
- Version management through Git
Git project management Reference link: juejin.cn/post/684490…
Performance optimization
automation
- Local packaging via Webpack
- Continuous integration was carried out with GitLab and Jenkins