Using remix 2.5.1, I want a dynamic route to be different than its parent... #8678
-
I have the following routes:
However, for some reason when I go to: How do I deal with this? |
Beta Was this translation helpful? Give feedback.
Answered by
larry-barry
Feb 3, 2024
Replies: 1 comment
-
Ok nevermind. I figured it out and will post the solution here in case others can benefit: Change the filenames to:
The Documentation for reference: https://remix.run/docs/en/main/file-conventions/routes#nested-urls-without-layout-nesting |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
larry-barry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok nevermind. I figured it out and will post the solution here in case others can benefit:
Change the filenames to:
The
_
aftertest
opts it out of the automatic layout nesting.Documentation for reference:
https://remix.run/docs/en/main/file-conventions/routes#nested-urls-without-layout-nesting