i5ting / koa-generator

Koa' application generator for 1.x and 2.x( Express-style and support all middlewares include async/await )
https://github.com/17koa/koa-generator
MIT License
972 stars 110 forks source link

hi.狼哥..jade官方早已建议迁移到pug上了. #39

Closed ench44 closed 7 years ago

ench44 commented 7 years ago

终于看到这个更新东西了. 我每次-g安装这个脚手架工具. 都要自己去手动修改一下koa2 这个文件. 能不能把jade去掉...直接替换成pug呢.

i5ting commented 7 years ago

收到

i5ting commented 7 years ago

使用https://github.com/i5ting/rfe来重名jade去pug

i5ting commented 7 years ago

koa2 已经默认使用pug了,v1.1.11+, koa 1.x下的koa命令还是jade,貌似是koa-views老版本的问题