Function pug

  • Attaches a view renderer to the context of the specified application.

    Parameters

    • application: __module

      The application instance.

    • rendererOptions: RendererOptions = {}

      The renderer options.

    Returns typeof Pug

    The newly created view renderer.