Closed connor11528 closed 8 years ago
I see that I must configure my view engine in config/views.js. What is that configuration object supposed to look like?
Also where do my html (or ejs or jade) templates go? What is the convention for the file path?
for express it'll be this:
View Config Choose a template engine. // config/views.js module.exports = { engine: 'pug' } Then simply write your views in a directory called 'views'!
https://github.com/trailsjs/trailpack-express
I see that I must configure my view engine in config/views.js. What is that configuration object supposed to look like?
Also where do my html (or ejs or jade) templates go? What is the convention for the file path?