insky / vue-gpickr

Vue gradient picker component

Home Page:https://insky.github.io/vue-gpickr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Error Cannot read properties of undefined (reading '_c')

jlopez0313 opened this issue · comments

Hi, I'm using it like the documentation, and i'm getting this error:

vue-gpickr.umd.min.js?31f7:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading '_c')
    at Proxy.a (vue-gpickr.umd.min.js?31f7:1:1)
    at renderComponentRoot (runtime-core.esm-bundler.js?5c40:464:1)
    at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js?5c40:4332:1)
    at ReactiveEffect.run (reactivity.esm-bundler.js?a1e9:160:1)
    at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4458:1)
    at mountComponent (runtime-core.esm-bundler.js?5c40:4241:1)
    at processComponent (runtime-core.esm-bundler.js?5c40:4199:1)
    at patch (runtime-core.esm-bundler.js?5c40:3791:1)
    at mountChildren (runtime-core.esm-bundler.js?5c40:3987:1)
    at mountElement (runtime-core.esm-bundler.js?5c40:3896:1)

I'm working in Vue3

Hi, this component written with Vue 2 and for Vue 2. I'm afraid, it wouldn't work with Vue 3. Unfortunately, I haven't free time for make it work with Vue 3. Best solution for you is get source files and rewrite some code for Vue 3 compatibility.