Problem with displaying child routes in the Outlet
Hi, I've ran into a problem, where my child routes instead of displaying in the place of the Outlet, just display as a whole new page. I have a dashboard and I want to display content of for e.g settings next to the sidebar, but instead the settings route displays without the sidebar.
My file structure:
2 Replies
fair-rose•3w ago
index and settings are both leaf routes. settings does not nest under index
move the sidebar into /dashboard/route.tsx
rising-crimsonOP•3w ago
Thank you so much! It works 🙂