Tarektouati / vue-use-web

🕸 Web APIs implemented as Vue.js composition functions
https://tarektouati.github.io/vue-use-web/
MIT License
751 stars 42 forks source link

Add vue3 version #345

Open simonbuehler opened 3 years ago

simonbuehler commented 3 years ago

hi,

would be nice if the dependency on @vue/composition-api could be dropped for a new vue3 version of the package!

JonasWijne commented 3 years ago

This would be really nice

simonbuehler commented 3 years ago

i guess the work is halfway done in f843382e5d608a8c756a4669a9cec2d6e2d6e081 ?

simonbuehler commented 3 years ago

@Tarektouati could you release a vue-use-web@next version from the next branch?

adi518 commented 3 years ago

Please release asap. In the meantime it can be worked around like so (using vite.js):

export default defineConfig({
+ resolve: {
+   alias: [
+     {
+       find: "@vue/composition-api",
+       replacement: "vue",
+     },
+   ],
+ },
  plugins: [vue()],
});

Source: https://github.com/vitejs/vite/issues/279#issuecomment-782871114

MCYouks commented 2 years ago

Hi all, any update on the Vue 3 migration? 🙂