How can i add a config?
shalldie opened this issue · 2 comments
shalldie commented
For example , i init like this:
app.use(views(path.join(__dirname, 'views'), {
map: { html: 'nunjucks' }
}));
But where do i add the nunjucks' config?
int64ago commented
Here's an example: https://github.com/queckezz/koa-views/blob/master/test/index.js#L277
shalldie commented
Thanks a lot.
:D