egg的连接配置安装$ npm i --save egg-sequelize $ npm install --save mysql2 # For both mysql and mariadb dialects 或者使用其他方式连接 $ npm install --save pg pg-hstore $ npm install --save tedious在config/plugin.js里配...
egg如何创建项目一、创建第一种方法:$ mkdir egg-example && cd egg-example $ npm init egg --type=simplek $ npm i第二种、方法:npm i egg-init -g egg-init egg-example --type=simple--type+骨架类型 simple 简单egg应用程序框架 ...