$ yarn
$ yarn run dev
$ open http://localhost:7001/
Don't tsc compile at development mode, if you had run tsc
then you need to yarn run clean
before yarn run dev
.
$ yarn run tsc
$ yarn start
- Use
yarn run lint
to check code style - Use
yarn test
to run unit test - se
yarn run clean
to clean compiled js at development mode once
- Node.js 8.x
- Typescript 2.8+
- Need dva-no-router update with latest react-redux;