Pug for Koa
    Preparing search index...

    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 __module

      The newly created view renderer.