import { Renderer } from "https://deno.land/x/aleph@v0.3.0-beta.4/server/renderer.ts";
The renderer class for SSR.
Constructors
new
Renderer(app: Aleph)Methods
private
lookupStyleModules(...specifiers: string[]): Promise<Record<string, { css?: string; href?: string; }>>clearCache(namespace?: string)
renderPage(url: RouterURL, nestedModules: string[]): Promise<[HtmlDescriptor, Record<string, SSRData> | null]>
render page base the given location.
setFrameworkRenderer(renderer: FrameworkRenderer)