阿里egg学习

环境准备

  • 操作系统:支持 macOS,Linux,Windows
  • 运行环境:建议选择 LTS 版本,最低要求 6.x

 

快速初始化

通过脚手架快速生成项目:

 

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

 

启动项目

$ npm run dev
$ open localhost:7001

 

posted @ 2017-05-22 14:09  为生活创造乐趣  阅读(651)  评论(0编辑  收藏  举报