Skip to content
Discussion options

You must be logged in to vote

Ok nevermind. I figured it out and will post the solution here in case others can benefit:

Change the filenames to:

app/routes/test.tsx
app/routes/test_.$slug.tsx

The _ after test 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

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
1 participant