#How to setup dashboard in the index route?
1 messages · Page 1 of 1 (latest)
Put your dashboard code in your index route.
And is it possible to make the <Outlet /> work?
// routes/index.tsx
export * from './dashboard'
export { default } from './dashboard'
Outlet for what?
Outlet for rendering child pages, my "/" route will have tabs
and each tab's content will be rendered at "/overdue", "/upcoming", etc.
The only Outlet you'll need is in the root.tsx to render those other routes.