Closed ThomasBerne closed 11 months ago
It looks like it's the vue-i18n.ts file that is breaking the typing. Removing the line : vueI18n: './config/i18n/vue-i18n.ts',
in the module options fixes it.
i found the problem. I forgot this line:
Hi! So it's only the defaultLocale that caused the problem? I look at this
Fixed in v3.5.0
Describe the bug When adding the @nuxtjs/i18n module in a fresh project, the typing is broken:
Expected behavior There should be typing generation in the install of the project and during the development using routing.
Screenshots
Environnement infos
Run
nuxi infos
Run
npx tree-node-cli {your page folder path}
Your nuxt.config.ts Nuxt i18n config :
And vue-i18n.ts content is: