Closed gileneusz closed 1 year ago
You should change your language switcher so that it updates the locale cookie and triggers navigation if necessary, like so:
changeLanguage(lang) {
this.$i18n.locale = lang;
}}
Check out the v7 docs for more information.
Environment
Build Modules: @nuxtjs/vuetify@1.12.3
"dependencies": { "@nuxtjs/axios": "^5.13.6", "@nuxtjs/i18n": "^7.3.1", "core-js": "^3.15.1", "markdown-it": "^13.0.1", "marked": "^0.7.0", "nuxt": "^2.15.7", "vuetify": "^2.5.5" },
Reproduction
nuxt.config.js
locales/en.json:
locales/pl.json:
index.vue:
Describe the bug
with lazy:false, it's working correctly, with lazy:true, I've got this error inside console:
Additional context
No response
Logs
No response