egg搭建服务端
搭建egg项目快速生成项目(npm >=6.1.0):$ npm init egg --type=simple$ npm i启动项目:$ npm run dev$ open http://localhost:7001连接mysql数据库安装插件 egg-mysql :$ npm i --save egg-mysql开启插件:// config/plugin.jsmodule.exports = { mysql: { enable: true, pack
原创
2021-07-13 16:38:00 ·
465 阅读 ·
0 评论