Custom root path? #1545
-
Hi, I am fairly new to Tanstack router, but did read thru' the documentation. In our current setup, we have urls something like.. In development mode, In production mode, Using file based routing, I added Can you please suggest how I can handle this using file based routing? Thanks much |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Are you referring to the basepath configuration property? You could set the basepath on the router when creating its instance using const router = createRouter({
routeTree,
basePath: '/service'
}) |
Beta Was this translation helpful? Give feedback.
Are you referring to the basepath configuration property?
You could set the basepath on the router when creating its instance using
createRouter
.