T
TanStack3mo ago
unwilling-turquoise

Where is the documentation for the Tanstack Start Vite plugin?

Looking for the API documentation for the vite plugin: @tanstack/react-start/plugin/vite I'm currently configuring it like the following but unsure if that is correct:

tanstackStart({
customViteReactPlugin: true,
router: {
virtualRouteConfig: './src/routes.ts',
},
}),

tanstackStart({
customViteReactPlugin: true,
router: {
virtualRouteConfig: './src/routes.ts',
},
}),
1 Reply
rising-crimson
rising-crimson3mo ago
we still need to document this in more detail, we are still changing that API so we hold back that effort on main, virtualRouteConfig needs to go into tsr prop it will be router instead of tsr soon

Did you find this page helpful?