You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The config cannot be found because it seems to be looking inside of the i18n directory instead of app directory.
[@nuxtjs/i18n 9:13:41 AM] WARN Vue I18n configuration file ./app/i18n.config.ts not found in /Users/joshua/project/i18n. Skipping...
Additional context
The fix is to change it from vueI18n: './app/i18n.config.ts' to vueI18n: '../app/i18n.config.ts' since by default it's relative to the i18n directory. I think it would be more intuitive if when the vueI18n setting is set in the config it's relative to the project root rather than default i18n directory.
The text was updated successfully, but these errors were encountered:
Environment
Reproduction
Set the
nuxt.config.ts
file as follows:Describe the bug
The config cannot be found because it seems to be looking inside of the i18n directory instead of app directory.
Additional context
The fix is to change it from
vueI18n: './app/i18n.config.ts'
tovueI18n: '../app/i18n.config.ts'
since by default it's relative to thei18n
directory. I think it would be more intuitive if when thevueI18n
setting is set in the config it's relative to the project root rather than defaulti18n
directory.The text was updated successfully, but these errors were encountered: