Closed Elliot67 closed 1 year ago
Hey, I have not tried it but I expect it to work as long as you have composition-api plugin or vue 2.7 installed?
Tried with composition-api and with vue 2.7. Made a reproduction on stackblitz with the latest nuxt 2 version which includes Vue 2.7. I'm not extremely familiar with Nuxt, the problem might come from me.
Okay, I will have to do some updates since Vue 2 doesn't have withDirectives
function.
As stated here, functions like withDirectives
isn't available in Vue 2 so I published a different package in this branch instead:
npm install vue2-wrap-balancer
Here's the forked repro btw - stackblitz
Works perfectly, thx!
Since the library is using
vue-demi
, I guess it should be compatible with Nuxt 2 & Vue 2 but I can't get it to work. Is it compatible ? If yes how do you import it ?Thx for making the port to Vue ! 💚