Skip to content
Discussion options

You must be logged in to vote

I didn't realise you could use the same path value more than once in the route definitions, by doing this same path with different files, I can achieve what I was asking about in my question.

For example, you can do like:

route('', 'whatever/_index.tsx', { index: true })
route('', 'whatever/_sections.tsx', () => {
   // add child routes here
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by caprica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant