how to use the outlet
I have the following routes, where
settings/index is:
and settings/subscriptions is:
when I visit settings/subscription I just see
Subscribption and not Tabs, am I using it in the wrong way? Basically I want a page with some tabs and the different sub routs to be the tabs
4 Replies
deep-jade•2y ago
outlet must be put into either routes/settings.tsx or routes/settings/route.tsx
outlet only renders child matches
but index and subscription are siblings
sunny-greenOP•2y ago
oh thanks, I renamed index.tsx to route.tsx, the only problem I'm getting is that now I get this ts error:
replacing it with
/settings/ works fine but it get changed back to /settings on savesunny-greenOP•2y ago

sunny-greenOP•2y ago
nevermind
solved
thanks!