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

_Meta file not finding files when nesting catch-all route in v4 #3567

Closed
Firgrep opened this issue Oct 27, 2024 · 2 comments
Closed

_Meta file not finding files when nesting catch-all route in v4 #3567

Firgrep opened this issue Oct 27, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Firgrep
Copy link

Firgrep commented Oct 27, 2024

Describe the bug A clear and concise description of what the bug is.

Nesting the catch-all route one level down. /nested-path/[...mdxPath]] seems it's not obeying the _meta.ts file properly anymore, type: "page", is not being respected.

Additionally, any nested paths inside of content are "not found". Without the nested path everythig seems to work fine.

Screenshot from 2024-10-27 21-31-12

image

To Reproduce Steps to reproduce the behavior:

  1. Go to 'a nextra project that uses v4 catch-all route'
  2. Nest the catch-all route one level down
  3. Run the app
  4. See error

Expected behavior A clear and concise description of what you expected to
happen.

Expected that it would be able to maintain the content folder integrity and its meta config.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
    Ubuntu 24.04.1 LTS
  • Browser [e.g. chrome, safari]
    Chrome
  • Version [e.g. 22]
    Chrome 130 on Linux
@Firgrep Firgrep added the bug Something isn't working label Oct 27, 2024
Repository owner deleted a comment Oct 28, 2024
@dimaMachina
Copy link
Collaborator

Made some progress:

image image

@Firgrep
Copy link
Author

Firgrep commented Oct 29, 2024

Wuuhuu! Nice! 🥳👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants