#How to setup dashboard in the index route?

1 messages · Page 1 of 1 (latest)

hidden wharf
#

I want to setup dashboard at "/" instead of "/dashboard". Is this even possible?

eternal tiger
hidden wharf
#

And is it possible to make the <Outlet /> work?

eternal tiger
#
// routes/index.tsx
export * from './dashboard'
export { default } from './dashboard'
eternal tiger
hidden wharf
#

Outlet for rendering child pages, my "/" route will have tabs

#

and each tab's content will be rendered at "/overdue", "/upcoming", etc.

eternal tiger
#

The only Outlet you'll need is in the root.tsx to render those other routes.