Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue I18n config resolution not using restructureDir #3158

Closed
BobbieGoede opened this issue Oct 5, 2024 · 1 comment · Fixed by #3159
Closed

Vue I18n config resolution not using restructureDir #3158

BobbieGoede opened this issue Oct 5, 2024 · 1 comment · Fixed by #3159
Assignees

Comments

@BobbieGoede
Copy link
Collaborator

BobbieGoede commented Oct 5, 2024

Environment

  • 9.0.0-rc.1

Reproduction

https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-rkq5nf?file=nuxt.config.ts

Describe the bug

From #3156 (comment)

@BobbieGoede Just one more note: According to migration guide the i18n.config.ts should now sit in i18n folder. When setting no value in nuxt.config.ts for vueI18n then this file will not be found, needs to be set manually to vueI18n: './i18n/i18n.config.ts'. Shouldnt it default to i18n folder?

The functionality works as expected when restructureDir is explicitly set to 'i18n'

Additional context

No response

Logs

No response

@BobbieGoede
Copy link
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant