mutil call for useI18n not work
littleboarx opened this issue · comments
Reporting a bug?
see: https://codesandbox.io/p/sandbox/vue3-i18n-forked-dpjcp4?file=%2Fsrc%2FApp.vue%3A22%2C1
Expected behavior
t1 and t2 should work together
Reproduction
see playground
System Info
there's a front code sandbox
Screenshot
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- 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 Discussions
Thank you for your reporting!
vue-i18n doesn’t expect multiple calls to useI18n
in the setup lifecycle. Because of the internal use of inject/provie
.
Thanks