2019-02-28 后端项目构建(node.js,egg.js

2020-03-20  本文已影响0人  公纸晓白

我们推荐直接使用脚手架,只需几条简单指令,即可快速生成项目:

$ npm i egg-init -g
$ egg-init egg-example --type=simple
$ cd egg-example
$ npm i

启动项目:

$ npm run dev
$ open localhost:7001
上一篇 下一篇

猜你喜欢

热点阅读