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.
2 Replies
passive-yellow•3y ago
Also interested in this
rival-black•3y ago
It’s there. routerOptions.basepath