Development model:

modular

  1. Js modularization: Through module of ES6 technology, js code is modularized development

Reference link: es6.ruanyifeng.com/#docs/modul…

  1. CSS Modularity: Via CSS Modules (I haven’t used them)

Refer to the link: www.ruanyifeng.com/blog/2016/0…

componentization

  1. Through the VUE framework
  2. Through the React framework

The canonical

  1. Determine the directory structure based on development
  2. ESLint determines the basic specification for writing
  3. Version management through Git

Git project management Reference link: juejin.cn/post/684490…

Performance optimization

automation

  1. Local packaging via Webpack
  2. Continuous integration was carried out with GitLab and Jenkins