cloudinary / cloudinary-vue

Cloudinary components library for Vue.js application, for image and video optimization.
https://cloudinary.com/documentation/vue_integration
99 stars 10 forks source link

Cloudinary-vue not working in Vue 3 #165

Closed dajpes closed 2 days ago

dajpes commented 1 year ago

Bug report for Cloudinary Vue SDK

Using cloudinary-vue 1.2.4, I get the following error:

"TypeError: h is not a function"

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK [ ] Babel - Babel errors or cross-browser issues [ ] UI/Performance - Display or performance issues [x] Behaviour - Functions aren’t working as expected (Such as generate URL) [ ] Documentation - Inconsistency between the docs and behavior [x] Incorrect Types - For typescript users who are having problems with our d.ts files [ ] Other (Specify)

Steps to reproduce

Just go to the following repo:

https://stackblitz.com/edit/vue-ftvhtr?file=src/App.vue

Versions and Libraries (fill in the version numbers)

Vue Cloudinary SDK - 1.2.4 Vue - 3.2.26 VueCLI - 0.0.0 / N/A Babel - 0.0.0 Webpack/Rollup/Other - 0.0.0 Node - 0.0.0 NPM - 0.0.0

dannyv-cloudinary commented 1 year ago

Hi @dajpes.

Thanks for raising this with us. Currently, our SDK doesn't support Vue 3. We're working on a new version which we hope to release in the not too distant future, however for now, you will need to use Vue 2 in order to use our SDK.

I hope this helps.

Thanks, -Danny

SebiBasti commented 2 days ago

@dannyv-cloudinary Are there any updates about Vue 3 support?

dannyv-cloudinary commented 2 days ago

Hey @SebiBasti. Vue 3 is indeed supported now! Please see https://github.com/cloudinary/frontend-frameworks/tree/master/packages/vue