T
TanStack16mo ago
old-apricot

How to get the available routes as a type

Is there a way to get the available paths as in /, /about, /profile etc. as a type?
3 Replies
rare-sapphire
rare-sapphire16mo ago
GitHub
How to ensure a pathname variable is part of my routeTree ? · TanSt...
I have a use-case where a global component shows a "go back" link. I'd like to configure the target of this go back link per Route. Instead of moving the component from a global layou...
like-gold
like-gold14mo ago
@Manuel Schiller thoughts on adding this to the docs, I think this is a enough of a common use case, I speant ages trying to find this solution.
rare-sapphire
rare-sapphire14mo ago
feel free to create a PR

Did you find this page helpful?