Closed mamboer closed 9 months ago
Hi, @mamboer!
Probably you should retrieve the value of vueI18n
from nuxt config
vueI18n: {
fallbackLocale: "en",
},
into a separate file and wrap it with defineI18nConfig
call.
Check the Getting Started -> Usage
Edited: Moving to a separate file might be optional, it's better to check
@YevgeniyShek It works, thanks!
Environment
Reproduction
https://github.com/mamboer/huangyongyou.cn
Describe the bug
Following the https://i18n.nuxtjs.org/docs/getting-started, when run the
yarn dev
command, it throws the error as below:Additional context
No response
Logs
No response