Installation dependencies
$ npm install
or use yarn
$ npm install -g yarn
$ yarn install --pure-lockfile
Start server.
$ npm run dev
# visit http://localhost:8030
Submit code
$ git commit -m "xxx" will automatically run npm run lint to check grammar rules
Construct
$ npm run build
Technology stack convention
react + react-router-dom + ant-design + rxjs
public: some static resources
src: development home directory
assets: static resources, pictures, etc., refer to webpack
components: common components
pages: subpages, can contain subcomponents
utils: public methods
webpack.config.js: webpack configuration