import { JsonRouterCollector } from "https://deno.land/x/lume@v1.19.0/plugins/on_demand.ts";
Class to load and manage static routes in a JSON file Used by default if no router is provided
Methods
collectRoutes(pages: Page[]): void
Collect the routes of all pages with data.ondemand = true
saveRoutes(logger: Logger, specifiers: string[]): Promise<void>
Save the routes into the routesFile