vue-moveable icon indicating copy to clipboard operation
vue-moveable copied to clipboard

Cannot read property '_c' of undefined Vue version 3.0.0

Open gabojkz opened this issue 5 years ago • 6 comments

I am using the new CLI version 3.

essential using one of the examples in the website but still can't make it work.

runtime-core.esm-bundler.js?5c40:217 Uncaught TypeError: Cannot read property '_c' of undefined
    at Proxy.render (VueMoveable.common.js?9e77:207)
    at renderComponentRoot (runtime-core.esm-bundler.js?5c40:673)
    at componentEffect (runtime-core.esm-bundler.js?5c40:4475)
    at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
    at effect (reactivity.esm-bundler.js?a1e9:17)
    at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4458)
    at mountComponent (runtime-core.esm-bundler.js?5c40:4416)
    at processComponent (runtime-core.esm-bundler.js?5c40:4376)
    at patch (runtime-core.esm-bundler.js?5c40:3991)
    at mountChildren (runtime-core.esm-bundler.js?5c40:4180)

Here is a sandbox with the error vue3 example

Maybe I need to install babel polifylls not sure advice?

gabojkz avatar Oct 12 '20 18:10 gabojkz

I've also been trying for a while, and could not manage to make it work either. It seems vue-moveable is not compatible with Vue3.

colxi avatar Dec 19 '20 02:12 colxi

vue-moveable is not compatible with Vue 3 just yet

probil avatar Dec 19 '20 12:12 probil

If you clone the repo and install all the deps using npm install it works I decided to go another way but I remember that the problem was around the wrapper vue-moveable/src/components/Moveable.vue the reason why it does not work is because Vue3 uses a new syntax I wish I could put a PR up but don't have time at the moment apologies

Hope it helps thanks

gabojkz avatar Dec 20 '20 12:12 gabojkz

When will it be supported in vue3

labbomb avatar Mar 29 '21 01:03 labbomb

Hey there guys here is a repo that contains the moveable compatible for vue3

gabojkz avatar Apr 03 '21 22:04 gabojkz

Hey there guys here is a repo that contains the moveable compatible for vue3

thanks a lot. it saved me!

Sainkhishig avatar Jul 28 '21 08:07 Sainkhishig