Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

prerender.ts

8 lines188 Bytes

1import { localizeHref } from '../paraglide/runtime'
2​
3export const prerenderRoutes = ['/', '/about'].map((path) => ({
4 path: localizeHref(path),
5 prerender: {
6 enabled: true,
7 },
8}))