remix icon indicating copy to clipboard operation
remix copied to clipboard

The Vercel preset requires an index file

Open Gbuomprisco opened this issue 1 year ago • 4 comments

In my Remix project - I have the following file structure:

_marketing._index
_marketing.blog
...
auth
auth.sign-in._index

Remix (without the Vercel preset) correctly infers that the index page should be (_marketing._index).

This is useful, as it allows us to create a layout around the marketing side of the website - and another one for auth, dashboard, etc.

However, the Vercel preset will return a 404 with the structure above.

To reproduce:

  1. remove the _index.tsx file
  2. add a pathless layout with a route _marketing._index/route.tsx

Gbuomprisco avatar Jun 22 '24 05:06 Gbuomprisco

I'm also running into this issue

joeykamsteeg avatar Jul 16 '24 19:07 joeykamsteeg

Same issue for me. Any workaround?

jorisre avatar Jul 30 '24 12:07 jorisre

Hey @TooTallNate, wanted to help with that blocking issue. Got any ideas on how to tackle it? Or any workaround in the meantime? Any context you can share would be super helpful

jorisre avatar Jul 31 '24 08:07 jorisre

Is their any update on this issue?

joeykamsteeg avatar Oct 14 '24 12:10 joeykamsteeg