vue-mixable icon indicating copy to clipboard operation
vue-mixable copied to clipboard

[Feature request] Vue 2 compact with vue-demi

Open imrim12 opened this issue 3 years ago • 1 comments
trafficstars

This is a very cool package but I think Vue 2 compact support is one of the big reasons to use it for some legacy projects which are slowly being migrated to Vue 2.7 or Vue 3 I see this part in the package.json and no Vue 2.x support, would we ever consider doing this?

All the import use: import ... from 'vue', i think vue-demi would be great for this instead, what do you think?

...
    "vue": "^3.2.41",
    "vue-tsc": "^1.0.8"
  },
  "peerDependencies": {
    "vue": "^3.2"
  },
...

imrim12 avatar Nov 08 '22 03:11 imrim12

I'll consider this, but worry it might be quite a hassle to implement on the Typescript side.

Concerning a migration though, my Thought process was that a migration from mixins to composables was something I would do step by step after I moved to Vue 3. But sure, there might be scenarios where one might want to do this before the actual migration

LinusBorg avatar Nov 08 '22 06:11 LinusBorg