Type Alias TemplateRoute
TemplateRoute: RouteCommon & QueryRoute & FamilyRoute & {
strategy: "template";
template: TemplateSource;
}
strategy: "template";
template: TemplateSource;
}
Type Declaration
-
strategy: "template"
renders stored JSON through the template
-
template: TemplateSource
the template source, compiled once when the route is defined
a route answered by rendering stored JSON through a compiled template