Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

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

@frontHu

Description

@frontHu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions