@lwrjs/base-template-engine
Advanced tools
Comparing version 0.0.2-alpha8 to 0.0.2-alpha9
@@ -7,4 +7,4 @@ "use strict"; | ||
function registerEngine(app, config) { | ||
const viewsDir = config.application.views[0]; | ||
const layoutsDir = config.application.layouts[0]; | ||
const viewsDir = config.contentDir; | ||
const layoutsDir = config.layoutsDir; | ||
app.engine('html', index_1.templateMiddleware({ | ||
@@ -11,0 +11,0 @@ views: viewsDir, |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.0.2-alpha8", | ||
"version": "0.0.2-alpha9", | ||
"homepage": "https://lwr.dev/", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
}, | ||
"gitHead": "c010a3b75892789968c39442644bf333a59529c9" | ||
"gitHead": "082cdd98d88f586287d1bc5e20fee3ad024708f1" | ||
} |
6099