TanStackT
TanStack3y ago
2 replies
foolish-indigo

Support for base path?

I was wondering if it's possible to set a base path for the router such that all the routes are relative to that value, not unlike React Router's basename property.

The use case is that I want to use tanstack router for an app that sits at at site.com/app such that the index would be site.com/app/index, but ideally you wouldn't have to track that base parameter as you're navigating around.
Was this page helpful?