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
As reported in #402, there are some problems with parsing the TSX template and I believe they were not fixed by #414.
Specifically, the following error appears in the console when trying to run the dev server: Pre-transform error: '>' expected.
IMPORTANT: this doesn't show up in the reproduction on Stackblitz, because it is masked by #420, however, when you download it and run it locally, you can see the error. (at least on my machine - check system info)
Expected behavior
No error should appear and the app should build successfully
Unfortunately, This issue caused by v-t directive optimization. Nuxt i18n optimize with using vue-i18n-extensions, which has still issue for tsx. 😞
v-t is supported by vue-i18n, but this directive is scheduled to be deprecated in vue-i18n v12.
In anticipation of this, nuxt i18n has added an option that allows you to opt out in v9.1.1.
You can avoid this by setting the following in nuxt.config.ts.
Reporting a bug?
As reported in #402, there are some problems with parsing the TSX template and I believe they were not fixed by #414.
Specifically, the following error appears in the console when trying to run the dev server:
Pre-transform error: '>' expected.
IMPORTANT: this doesn't show up in the reproduction on Stackblitz, because it is masked by #420, however, when you download it and run it locally, you can see the error. (at least on my machine - check system info)
Expected behavior
No error should appear and the app should build successfully
Reproduction
https://stackblitz.com/edit/github-ffpcjt-wvpad2?file=package.json
Issue Package
vite-plugin-vue-i18n
System Info
Screenshot
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: