Static
mountMount Handlebars view engine on Express application. Configures template engine, helpers, layouts, and partials.
Express application instance
Static
mountMount middleware to be executed just before rendering the view. Allows setting view variables and executing beforeRender hooks from configuration.
Express application instance
Enable Handlebars template engine with custom helpers and configuration. Sets up view engine, layouts, partials, and before-render hooks.
See
Handlebars Guide
Example