Closed 23233 closed 5 months ago
routes.gen.tsx no export const router = createRouter({ routeTree: config });
but i want to set basepath , what can i do it?
<RouterProvider router={router} basepath={"/admin"} />
"@generouted/tanstack-react-router": "^1.19.3",
no
you konw
export const Routes = () =>
No response
window
@23233 The routes tree/object is now exported at v1.19.4
routes
You can now use it directly to customize the router:
import { routes } from './routes.gen' const router = createRouter({ routeTree: routes }) const Routes = () => <RouterProvider router={router} />
Describe the Bug
routes.gen.tsx no export const router = createRouter({ routeTree: config });
but i want to set basepath , what can i do it?
Generouted Version
"@generouted/tanstack-react-router": "^1.19.3",
Your Example Website or App or Reproduction
no
Steps to Reproduce the Bug or Issue
you konw
Expected Behavior
export const Routes = () =>
Screenshots or Videos
No response
Platform
window
Additional context
No response