Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Type Alias TemplateRoute

    TemplateRoute: RouteCommon & QueryRoute & FamilyRoute & {
        strategy: "template";
        template: TemplateSource;
    }

    a route answered by rendering stored JSON through a compiled template

    Type Declaration

    • strategy: "template"

      renders stored JSON through the template

    • template: TemplateSource

      the template source, compiled once when the route is defined