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
foreign-sapphire•15mo 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
rare-sapphireOP•15mo 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 saverare-sapphireOP•15mo ago

rare-sapphireOP•15mo ago
nevermind
solved
thanks!