快速入门

1
2
3
4
5
6
7
# 创建并初始化项目
mkdir egg-example && cd egg-example
npm init egg --type=simple
npm i
# 启动项目
npm run dev
open http://localhost:7001