remix
remix copied to clipboard
[Bug]: Layout route with more than one pathless layout causes invalid conflict
What version of Remix are you using?
1.5.1
Steps to Reproduce
Create a route structure like so:
app/routes
├── slug
│ ├── __bar
│ │ └── bar.tsx
│ ├── __foo
│ │ ├── foo.tsx
│ │ └── index.tsx
│ ├── __bar.tsx
│ └── __foo.tsx
└── slug.tsx
Expected Behavior
Layout routes can have more than one pathless layout route.
Actual Behavior
The error is thrown when starting remix:
Error: Path "slug/" defined by route "routes/slug/__foo" conflicts with route "routes/slug/__bar"
Hi, I can confirm this, I have the same problem. (I wouldn't flag it as "feat" tho, it looks like a bug to me)
I have the same problem with ^1.9.0. @machour, should you flag it as bug instead?
Will be fixed by #4421
#4421 is merged and should be available once v1.17.0 is released
🤖 Hello there,
We just published version v0.0.0-nightly-33cc4c0-20230525 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!
🤖 Hello there,
We just published version 1.17.0-pre.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!
🤖 Hello there,
We just published version 1.17.0 which involves this issue. If you'd like to take it for a test run please try it out and let us know what you think!
Thanks!