Authored by 陈峰

change engine

... ... @@ -18,7 +18,7 @@ app.on('mount', function(parent) {
Object.assign(app.locals, parent.locals);
});
app.use(global.yoho.hbs({
app.engine('.hbs', hbs({
extname: '.hbs',
defaultLayout: 'layout',
layoutsDir: doraemon,
... ...