Skip to content

How should I handle the case where my layout and index routes look the same? #13734

Answered by sergiodxa
silvenon asked this question in Q&A
Discussion options

You must be logged in to vote
route("", "dashboard.tsx", [
  route("another", "another.tsx"),
])

This should allow / to only render the dashboard and /another to render both

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@silvenon
Comment options

@silvenon
Comment options

@sergiodxa
Comment options

Answer selected by silvenon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants