Wrong routing with catch all route and a route localization disabled #3321
Labels
bug 🐛
custom route path
🔨 p3-minor-bug
Priority 3: a bug in an edge case that only affects very specific usage
routing
Environment
Darwin
v20.18.2
3.15.2
3.20.0
2.10.4
[email protected]
-
modules
,sitemap
,delayHydration
,security
,routeRules
,css
,imports
,multiCache
,graphqlMiddleware
,runtimeConfig
,nitro
,i18n
,piniaPluginPersistedstate
,experimental
,image
,compatibilityDate
,prismic
,sentry
,sourcemap
,vite
,devtools
[email protected]
,@vueuse/[email protected]
,@pinia/[email protected]
,pinia-plugin-persistedstate/[email protected]
,@nuxtjs/[email protected]
,@vee-validate/[email protected]
,@nuxtjs/[email protected]
,[email protected]
,@nuxt/[email protected]
,[email protected]
,@nuxtjs/[email protected]
,[email protected]
,@nuxtjs/[email protected]
,@nuxtjs/[email protected]
,@sentry/nuxt/[email protected]
-
Reproduction
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 ?
The text was updated successfully, but these errors were encountered: