Skip to content
New issue

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

The Vercel preset requires an index file #121

Open
Gbuomprisco opened this issue Jun 22, 2024 · 3 comments
Open

The Vercel preset requires an index file #121

Gbuomprisco opened this issue Jun 22, 2024 · 3 comments

Comments

@Gbuomprisco
Copy link

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
Copy link

I'm also running into this issue

@jorisre
Copy link

jorisre commented Jul 30, 2024

Same issue for me. Any workaround?

@jorisre
Copy link

jorisre commented Jul 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants