fix(i18n): pass scope to components#339
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
shouldn't be global if not specified? at elk.zone we don't have any |
|
@userquin yeah it falls back to global by default, this is just to get rid of the warnings |
|
@BobbieGoede potentially a suggestion for a breaking change, but why isn't |
|
@cernymatej this behavior is from vue-i18n, by default the scope is inherited from its parent which could be global or local. I think the warning was added because this behavior was confusing, without making a breaking change. I agree that a static default scope would probably be more intuitive. |
This prevents these warning logs:
