Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2k
Description
Description
TheExpress application generator usesPug as its default, but it also supportsHandlebars, andEJS, among others.
To render template files, set the followingapplication 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 errorError: 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.