Authored by 郭成尧

hbs-no-defined

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