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] Cannot find VueI18n instance! #1701

Open
5 tasks done
frontHu opened this issue Apr 11, 2024 · 0 comments
Open
5 tasks done

[vue-i18n] Cannot find VueI18n instance! #1701

frontHu opened this issue Apr 11, 2024 · 0 comments
Labels
Status: Review Needed Request for review comments

Comments

@frontHu
Copy link

frontHu commented Apr 11, 2024

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:
Screenshot1403_01_23_140252

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

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

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

Expected behavior

Text can be rendered normally

Reproduction

nope

System Info

mac
node 14.16

Screenshot

No response

Additional context

No response

Validations

@frontHu frontHu added the Status: Review Needed Request for review comments label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

1 participant