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
hi
When using this plugin in inertia There is a hydration problem in SSR mode
In the following case ssr.ts
.use(i18nVue, { lang: "fa", resolve: (lang) => { const langs = import.meta.glob("../../lang/*.json", { eager: true }); return (langs[`../../lang/${lang}.json`] as any).default; }, })
Error: Hydration completed but contains mismatches
And in the following case ssr.ts
.use(i18nVue, { resolve: (lang) => { const langs = import.meta.glob("../../lang/*.json", { eager: true }); return (langs[`../../lang/${lang}.json`] as any).default; }, })
The hydrated problem is solved. But the texts in the page source are not translated. and are displayed as follows: messages.example ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi
When using this plugin in inertia
There is a hydration problem in SSR mode
In the following case
ssr.ts
Error: Hydration completed but contains mismatches
And in the following case
ssr.ts
The hydrated problem is solved. But the texts in the page source are not translated. and are displayed as follows:
messages.example ...
The text was updated successfully, but these errors were encountered: