egg-react-mobx-ts-antd
egg-react-mobx-ts-antd copied to clipboard
Start node with eggjs, react, mobx-react, typescript and ant design.
egg-react-mobx-ts-antd
Front
- react
- mobx-react
- typescript
- css modules (beta)
- ant design
Server
- egg
Start
Development
$ npm install
$ npm run build:dll
$ npm run build & npm run dev
$ open http://localhost:7001
Deploy
Use EGG_SERVER_ENV=prod to enable prod mode
$ EGG_SERVER_ENV=prod npm start
npm scripts
- Use
npm run lintto check code style. - Use
npm testto run unit test. - Use
npm run autodto auto detect dependencies upgrade.