快速安装那其实就是generator(生成器)哈哈哈

1.安装koa-generator

$ npm install -g koa-generator

 

2.创建应用

  • create the app koa1.x

     $ koa /tmp/foo && cd /tmp/foo
     $ npm install
     $ npm start

     

  • create the app koa2.x

    
    
     $ koa2 /tmp/foo && cd /tmp/foo
      $ npm install
      $ npm start
    
    

     

    
    

哈哈哈又废话了一篇…………

相关文章:

  • 2021-11-09
  • 2021-07-11
  • 2021-07-23
  • 2021-10-06
  • 2021-11-23
  • 2021-11-19
  • 2021-12-02
  • 2021-04-06
猜你喜欢
  • 2022-12-23
  • 2022-01-22
  • 2021-09-09
  • 2022-01-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案