We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.13.0
npx create-remix@latest --template remix-run/indie-stack
Create a folder questions/ for the layout that should have the Outlet inside
questions/
export default function QuestionsLayout() { return ( <div className="flex h-full min-h-screen flex-col"> <h1>Questions</h1> <main> <div className="flex-1 p-6"> <Outlet/> </div> </main> </div> ); }
questions._index/
export default function QuestionIndex() { return ( <div> Index </div> ); }
This is how it should look like:
According to the V2 docs here section Folders for Organization I can see essentially the same thing:
Folders for Organization
When navigating to /questions it should load the questions/route.tsx as a layout and then questions._index/route.tsx as i'm in the index path.
/questions
questions/route.tsx
questions._index/route.tsx
Remix throws a conflict error.
Error: Path "/questions" defined by route "questions._index/route" conflicts with route "questions/route"
The text was updated successfully, but these errors were encountered:
Might be related to #5216 but this one uses index instead of route for filenames. I don't know if this internally affects anything.
index
route
Sorry, something went wrong.
As per @mcansh who answered on a discord help topic the issue is fixed by #5459.
I'm closing this issue.
No branches or pull requests
What version of Remix are you using?
1.13.0
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
npx create-remix@latest --template remix-run/indie-stack
Create a folder
questions/
for the layout that should have the Outlet insidequestions._index/
for the actual index route.This is how it should look like:
Expected Behavior
According to the V2 docs here section
Folders for Organization
I can see essentially the same thing:When navigating to
/questions
it should load thequestions/route.tsx
as a layout and thenquestions._index/route.tsx
as i'm in the index path.Actual Behavior
Remix throws a conflict error.
Error: Path "/questions" defined by route "questions._index/route" conflicts with route "questions/route"
The text was updated successfully, but these errors were encountered: