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

bug(nuxt): Catch All Route doesn't work with 404.vue defined. #15083

Closed
cpreston321 opened this issue Oct 3, 2022 · 2 comments
Closed

bug(nuxt): Catch All Route doesn't work with 404.vue defined. #15083

cpreston321 opened this issue Oct 3, 2022 · 2 comments

Comments

@cpreston321
Copy link
Contributor

cpreston321 commented Oct 3, 2022

Environment


  • Operating System: Linux
  • Node Version: v16.14.2
  • Nuxt Version: 3.0.0-rc.11
  • Nitro Version: 0.5.4
  • Package Manager: npm@7.17.0
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-vzsju5?file=package.json

Describe the bug

When 404.vue is defined, [...slug].vue is ignored. I created a reproduction all you have to do is delete the 404.vue and everything works as expected.

Additional context

I was working on a project with a custom 404 page and a catch all route and this bug presented itself then when I deleted the custom 404.vue page everything worked as expected.

Logs

No response

@manniL
Copy link
Member

manniL commented Oct 3, 2022

Duplicate of #14702 ☺️

@cpreston321
Copy link
Contributor Author

@manniL Want me to close issue since a duplicate ?

@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants