PrerenderTarget
// ---- prerender --------------------------------------------------------------------------------- /** A path to render at build time.
// ---- prerender ---------------------------------------------------------------------------------
/** A path to render at build time.
Import#
ts
import type { PrerenderTarget } from "@shadow-js/dusk/vite";
Signature#
ts
interface PrerenderTarget {
readonly path: string;
/** Render the SPA shell (a route with `ssr = false`) instead of the page. */
readonly shell: boolean;
}
Members#
| Name | Type | Description |
|---|---|---|
path |
readonly path: string |
|
shell |
readonly shell: boolean |
Render the SPA shell (a route with ssr = false) instead of the page. |