-
-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Labels
Type: BugBug or Bug fixesBug or Bug fixes
Description
Reporting a bug?
在legecy模式下,globalSFCScope没有任何作用,在全局的global下的message中,根本看到在local组件下的节点中的内容。比如login.vue下的节点内容。
Expected behavior
在全局的global下的messages中能够看到 local组件的节点下的内容。并且在SFC中使用 this.$t('xxxx')可以正常解析。
Reproduction
no
Issue Package
vite-plugin-vue-i18n
System Info
System:
OS: Windows 10 10.0.22000
CPU: (16) x64 AMD Ryzen 7 4800H with Radeon Graphics
Memory: 9.96 GB / 15.36 GB
Binaries:
Node: 14.15.1 - D:\nodejs\node.EXE
Yarn: 1.22.10 - D:\nodejs\node_global\yarn.CMD
npm: 6.14.8 - D:\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (96.0.1054.29)
Internet Explorer: 11.0.22000.120
npmPackages:
@intlify/vite-plugin-vue-i18n: ^3.1.1 => 3.1.1
vite: ^2.6.4 => 2.6.14
vue: ^3.2.16 => 3.2.22
vue-i18n: ^9.2.0-beta.18 => 9.2.0-beta.18
Screenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines.
- Read the README
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion.
Metadata
Metadata
Assignees
Labels
Type: BugBug or Bug fixesBug or Bug fixes