
Koa2实践
koa2学习
LetsStudy
The growth of age will not be a hindrance to study.
展开
-
1.4 koa2改造为TS项目
一、安装相关依赖npm install tslint typescript -gnpm install @types/koa-logger @types/koa-router @types/koa-views -gnpm install nodemon ts-node -g二、配置package.json的script "scripts": { "start": "npm run serve", "serve": "nodemon src/app.ts --config原创 2021-07-06 14:54:54 · 1509 阅读 · 0 评论 -
1.3 快速搭建koa2项目
一、webstrom新建node项目原创 2021-06-18 13:59:18 · 260 阅读 · 0 评论 -
1.2 webstorm设置pug自动编译
一、File->Setting->Tools选择File Watchers原创 2021-06-18 13:43:26 · 732 阅读 · 0 评论 -
1.1 pug常用命令
一、先安装pug及pug-clinpm install pug原创 2021-06-18 10:56:36 · 381 阅读 · 0 评论 -
1.0 npm依赖更新
一、检查更新,可以看到所有可以更新的模块。npm outdated二、原创 2021-06-18 10:24:11 · 155 阅读 · 0 评论