Nuxt 3 i18n (@nuxtjs/i18n)
Can anyone explain to me how to add i18n to Nuxt 3?
I am using pnpm and run into several issues:
When I start the server I see this error:
web dev: ERROR Cannot start nuxt: Cannot resolve vue-i18n on npm! please install it on 'node_modules'
1 Reply
I managed to install it now... But now when I use
<NuxtLink :to="switchLocalePath('en')">EN</NuxtLink>
it will not create the locale path link. It is just empty