Prerendering routes #3955
-
In the Tanstack Start docs under Static Prerendering it talks about prerender the whole application but the Nitro docs seems to suggest you could specify a particular route to prerender. Is this something that is considered? Like having some routes prerendered and some not? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You specify it in // app.config.js
import { defineConfig } from '@tanstack/react-start/config'
export default defineConfig({
server: {
prerender: {
routes: ['/', '/about'],
crawlLinks: true,
},
},
})``` |
Beta Was this translation helpful? Give feedback.
Try cawlLinks false, if you haven't
They're still working on removing Vinxi, so nothing to do yet. app.config.ts is still the right place for your TSS and Vite-related config items currently