用于枝网测试环境的eggjs调试,为前端history模式路由提供支持
将前端build后的项目放到app/public下,然后npm run dev,打开浏览器7001端口查看
see egg docs for more detail.
$ npm i
$ npm run dev
$ open http://localhost:7001/
$ npm start
$ npm stop
- Use
npm run lint
to check code style. - Use
npm test
to run unit test. - Use
npm run autod
to auto detect dependencies upgrade, see autod for more detail.