Files
SvelteKitSaasBoilerplate/src/routes/about/+page.ts
T

10 lines
318 B
TypeScript

import { dev } from '$app/environment';
// we don't need any JS on this page, though we'll load
// it in dev so that we get hot module replacement...
export const csr = dev;
// since there's no dynamic data here, we can prerender
// it so that it gets served as a static asset in prod
export const prerender = true;