koajs / koa

Expressive middleware for node.js using ES2017 async functions
https://koajs.com
MIT License
35.21k stars 3.23k forks source link

layout not work in (koa2 t1 -e -hbs) #1339

Closed kongtir closed 5 years ago

kongtir commented 5 years ago

layout not work in (koa2 t1 -e -hbs);

koa2 t1 -e --hbs install dependencies: cd t1 && npm install run the app: SET DEBUG=koa* & npm start t1

get http://127.0.0.1:3000/ reback

Hello Koa 2!

Welcome to Hello Koa 2!

it not work in layout ,what it is happend? this is pic

fl0w commented 5 years ago

koa2-cli isn't officially a Koa js org package, so I'm not sure what's going on. I suggest to turn to the maintainers of that package (guessing its https://github.com/ly2011/koa2-cli) and file an issue there.