koa2 学习

前提   已安装好  nodejs 

安装淘宝镜像

npm install -g cnpm --registry=https://registry.npm.taobao.org

https://koa.bootcss.com/

npm i koa
npm install -g koa-generator

使用koa2  创建test项目

koa2 test -e

目录结构

npm install
npm start

猜你喜欢

转载自blog.csdn.net/qq_43361434/article/details/106188811