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

Wrong routing with catch all route and a route localization disable #3321

Open
Applelo opened this issue Jan 22, 2025 · 0 comments
Open

Wrong routing with catch all route and a route localization disable #3321

Applelo opened this issue Jan 22, 2025 · 0 comments

Comments

@Applelo
Copy link

Applelo commented Jan 22, 2025

Environment

Reproduction

  • Go to the reproduction
  • Click on preview link
  • Instead of going on preview.vue page, the page displayed is the catchall route

https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-wv4gghva?file=pages%2Fpreview.vue

Describe the bug

I have a route I need to be not localized (the prismic slicemachine route). However I have a catch all route and when I access the /preview, the router is loading the /[...slug].vue file instead.

If this behavior is normal, how to make both of my routes cohabitate ?

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

1 participant