jshmrtn / vue3-gettext

Translate Vue 3 applications with gettext.
https://jshmrtn.github.io/vue3-gettext/
MIT License
66 stars 23 forks source link

Augment "vue" module instead of "@vue/runtime-core" #23

Closed LeSuisse closed 2 years ago

LeSuisse commented 2 years ago

When using a package manager stricter than npm such as pnpm, @vue/runtime-core is not directly accessible and therefore cannot be augmented.

This contribution updates the module augmentation to use vue (which is what this package define as a peer dependency). This is also what the current Vue documentation suggests to use .

Thanks for providing this library!