Skip to content

Nested route added by remix does not work, programmatically added one does work #7273

Closed Answered by kiliman
smucode asked this question in Q&A
Discussion options

You must be logged in to vote

Does routes/user.$userId.tsx have an <Outlet/>?

Currently, you have the edit route nested under the parent. If you don't want it nested, rename the route to routes/user.$userId_.edit.tsx. The trailing underscore means, "don't use this as a parent route."

For more info: https://remix.run/docs/en/1.19.3/file-conventions/route-files-v2#nested-urls-without-layout-nesting

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@smucode
Comment options

Answer selected by smucode
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