Static site generation

Mark a page for static generation. Landrr pre-renders it at build time using the same SSR code path.

export const ssr = { mode: "ssg" as const };

Build with the Landrr CLI:

npm run build

Under the hood, landrr-build runs the Vite client bundle, server bundle, then generateStaticSite() from @landrr/core/server for every SSG route.

Output lands in dist/client — ready for GitHub Pages or any static host.