This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
[vue-i18n] Cannot find VueI18n instance! #1701
Labels
Status: Review Needed
Request for review comments
Reporting a bug?
vue-i18n version: 8.28.2
Based on the component, an component is re-encapsulated. In order to prepare for the subsequent i18n upgrade, the main code of the component is as follows:

Then use this component in a jsx component. Specifically, use the standard location as shown below:

result: [vue-i18n] Cannot find VueI18n instance!

But I can use and render normally in other Vue single-file components, as follows:

Expected behavior
Text can be rendered normally
Reproduction
nope
System Info
Screenshot
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: