We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
restructureDir
shared/
Source code: https://github.com/dungsil/issues/tree/main/nuxt-modules-i18n%233210 StackBlitz: https://stackblitz.com/edit/nuxtjs-i18n-3210?file=nuxt.config.ts
When specifying a shared directory in restructureDir, an error occurs during build.
shared
Could not resolve "./shared/i18n/locales/en.json" from "node_modules/.cache/nuxt/.nuxt/dist/server/server.mjs"
No response
The text was updated successfully, but these errors were encountered:
You should move i18n.config.ts to shared/i18n folder or configure it properly in your nuxt config file (check https://stackblitz.com/edit/nuxtjs-i18n-3210-lz3vvy)
i18n.config.ts
shared/i18n
Sorry, something went wrong.
Hello @userquin,
It seems to be the same situation.
No branches or pull requests
Environment
Reproduction
Source code: https://github.com/dungsil/issues/tree/main/nuxt-modules-i18n%233210
StackBlitz: https://stackblitz.com/edit/nuxtjs-i18n-3210?file=nuxt.config.ts
Describe the bug
When specifying a
shared
directory inrestructureDir
, an error occurs during build.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: