Frontend Project Generator (中文版)
- React
- Redux
- Webpack
- React-router
- Immutable
- Antd
- npm install -g yo
- npm install -g generator-modation
- mkdir myapp && cd myapp
- yo modation
- npm install
- npm start
- view
localhost:8000
on your browser - Enjoy!
- Eslint check JS with airbnb JS style
- Stylelint check CSS
- Git commit message check
- Go to the folder where you will to add component, like:
cd src/components
- And run command as follow:
yo modation:component <componet-name>
- Go to
src/containers
folder, run command as follow:
yo modation:container <container-name>
- Go to the folder where you will to add testcase, and run command as follow:
yo modation:unittest <component-name>