-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Description
The Express application generator uses Pug as its default, but it also supports Handlebars, and EJS, among others.
To render template files, set the following application setting properties, in the default app.js created by the generator
For anybody that didn't use the generator, this really isn't a very helpful page. I followed "Installing" which is the first item in the "Getting started" section and now the docs are assuming I've done something else. I am getting the error Error: Module "handlebars" does not provide a view engine. Googling is pointing me towards the express-handlebars package but that seems at odds with what is written here. The docs page here says "it also supports Handlebars" and links to the Handlebars NPM package, not to express-handlebars.
Expectations
Don't assume everyone has used the generator.