- Node.js 12.18+ (installation with nvm)
- Yarn 1.22.4+
Feature
- react
- webpack 4.x
- mobx
- antd
- less
- Login page demo
- i18n
- eslint
- prettier
- pre-commit, lint-staged
- commitlint
- unit test demo
- e2e test demo
Install yarn with npm:
npm install -g yarn
Fork the repository, then clone your repository and install the dependencies:
yarn
Note: If you are in China Mainland, execute the following command before running the command above for faster installation.
yarn config set registry https://registry.npm.taobao.org
yarn start
Now, you can access http://localhost:8088.
Add translates in /locales/zh.json after run yarn i18n
yarn i18n
yarn test
The project can be built for production by using the following task:
yarn build