Polyconseil / vue-gettext

Translate your Vue.js applications with gettext.
MIT License
278 stars 55 forks source link

vue3 support #126

Closed nanu-c closed 3 years ago

nanu-c commented 3 years ago

Currently the plugin fails with vue3. Are there plans to add support for vue3?

Uncaught TypeError: Vue is not a constructor
    GetTextPlugin vue-gettext.js:878
    use runtime-core.esm-bundler.js:2976
    <anonymous> main.js:42
    js app.js:1628
nanu-c commented 3 years ago

Looking into the code, i see it needs lots of effort.

kemar commented 3 years ago

Hi @nanu-c Nope, there is no plan to support for Vue 3 (see https://github.com/Polyconseil/vue-gettext/pull/118)

nanu-c commented 3 years ago

Hey kemar the vue3-gettext is a drop in replacement for this module and it works without changing anything, so there is really no need to to it ;)