vueuse / vue-demi

🎩 Creates Universal Library for Vue 2 & 3
MIT License
3.01k stars 158 forks source link

fix(<2.7): Install composition API on provided vue default instance #219

Closed rfostii closed 1 year ago

rfostii commented 1 year ago

I saw similar issue was fixed by this commit but it's still reproducible for me when I use vue-apollo-composable which has vue-demi as dependency.

179224159-545a207d-c91d-42dc-94a7-4d967661d6fd

179224189-2c911de8-3919-4563-bf51-97fd828d0783

I changed code manually to _vue.default.use(VueCompositionAPI) and it worked for me. I think it can be a potential fix so send this MR.

posva commented 1 year ago

The code you are showing means you are not using the latest version of vue-demi. You seem to have the old version you are showing in your commit

posva commented 1 year ago

Closing due to inactivity. Please open a new issue with a reference to this one if you can follow up with more information.