Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Templating engine pages could be improved #2128

Open
@o-t-w

Description

@o-t-w

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp