nuxt-modules / i18n

I18n module for Nuxt
https://i18n.nuxtjs.org
MIT License
1.71k stars 478 forks source link

Failed to switch page url with language switcher #2926

Closed tarikkavaz closed 5 months ago

tarikkavaz commented 5 months ago

Environment

Reproduction

https://stackblitz.com/edit/github-qi7g6c

Describe the bug

here is a demo on vercel https://multilang-nuxt3.vercel.app/en/about when I click on switch path to Français (fr) the patch should be https://multilang-nuxt3.vercel.app/fr/a-propos but it doesn't the same code works on stackblitz

Additional context

No response

Logs

No response

BobbieGoede commented 5 months ago

You can fix this by removing lockfiles and reinstalling dependencies, this is caused by having vue-router@4.3.1 installed which contains a breaking change and has been reverted in vue-router@4.3.2.

Related #2920, #2924