Template rendering middleware for qoq based on koa-views.
yarn add qoq-views
import { WebSlotManager } from 'qoq';
import { Views } from 'qoq-views';
export const webSlots = WebSlotManager.use(
new Views(__dirname + '/views', {
map: {
html: 'underscore',
},
}),
);
@see koa-views