Skip to content

Custom root path? #1545

Answered by SeanCassiere
vago asked this question in Q&A
May 1, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Are you referring to the basepath configuration property?

You could set the basepath on the router when creating its instance using createRouter.

const router = createRouter({
  routeTree,
  basePath: '/service'
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vago
Comment options

Answer selected by vago
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants