vercel / remix

Build Better Websites. Create modern, resilient user experiences with web fundamentals.
https://remix.run
MIT License
65 stars 20 forks source link

The Vercel preset requires an index file #121

Open Gbuomprisco opened 5 months ago

Gbuomprisco commented 5 months ago

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
joeykamsteeg commented 4 months ago

I'm also running into this issue

jorisre commented 3 months ago

Same issue for me. Any workaround?

jorisre commented 3 months ago

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

joeykamsteeg commented 1 month ago

Is their any update on this issue?