Protected
compileA cache of compiled templates.
Optional
locals: pug.LocalsObjectProtected
Readonly
configProtected
Readonly
debugProtected
Readonly
globalsProtected
Readonly
namespacesProtected
Readonly
requestProtected
Readonly
routingPrivate
appThe global application instance.
Get the UniversalPath to the base directory where views are loaded from.
Protected
appGet the global Application.
Protected
containerGet the method with the given name from this class, bound to this class.
function
Get the method with the given name from this class, bound to this class.
function
Rest
...args: any[]Protected
getProtected
getProtected
makeRegister a new factory that produces a global available in the templates by default.
Register a path as a root for rendering views prefixed with the given namespace.
Given a template string and a set of variables for the view, render the string to HTML and return it.
Given the name of a template, get a UniversalPath to the root of the tree where that template resides.
Given the name of a template, get a UniversalPath pointing to its file.
Implementation of the ViewEngine class that renders Pug/Jade templates.