vue-class-component
vue-class-component copied to clipboard
[vue3] Support for @vue/compat mode
vue 3 has the migration build. Would it be possible that vue-class-component has support for it?
That would probably also mean that the provided Vue
constructor from vue-class-component points to CompatVue
from @vue/runtime-dom
In our team we really need this. If there is no going to be support for Vue 3 from this package, that is fine, but I really think this should have support for the migration build, so we can do the migration in phases. Just stopping all development to refactor all our components from 3 different projects is plainly impossible.
The implementation for Vue 3 support seems (not sure if actually is that way, but it seems so) to be stopped, or at the very least, on hold. I believe that there should be some migration path for the users that depend on an official Vue ecosystem library (I understand that is the case, as it has its own documentation page in the vue.js domain: https://class-component.vuejs.org/), that from npm seems to have half million weekly downloads.
@ktsn could I politely ask if there are any plans on providing this path? Really appreciate any info at all you can give us.
I am also in the progress of migrating both our apps from Vue 2 to 3 and this is delaying our transition aswel.
any news?
I believe this can be achieved with just using webpack aliases. The only problems you might run into at that point are typescript, which can be ignored with any
casts.
Not the greatest solution, but will get you over the hump for a partial migration to Vue 3.