queckezz / koa-views

Template rendering middleware for koa (hbs, swig, pug, anything! :sparkles:)
MIT License
710 stars 87 forks source link

add autoRender option #130

Closed lcxfs1991 closed 5 years ago

lcxfs1991 commented 5 years ago

In some cases, we will wanna use return await ctx.render(). So I add an extra option to resolve it.

int64ago commented 5 years ago

LGTM, could you please add some tests?

int64ago commented 5 years ago

BTW, it could be better if you rebase all commits to one commit :-)

lcxfs1991 commented 5 years ago

Sorry. I will fix this stuff soon.

@int64ago

int64ago commented 5 years ago

ping @lcxfs1991 ?

lcxfs1991 commented 5 years ago

@int64ago fixed. Please check.

lcxfs1991 commented 5 years ago

Please support us and star this project. Haha.

996.icu

int64ago commented 5 years ago

Well done! Thanks!

int64ago commented 5 years ago

Via v6.2.0