Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Cannot read property '_c' of undefined Vue version 3.0.0 #190

Open
gabojkz opened this issue Oct 12, 2020 · 6 comments
Open

Cannot read property '_c' of undefined Vue version 3.0.0 #190

gabojkz opened this issue Oct 12, 2020 · 6 comments

Comments

@gabojkz
Copy link

gabojkz commented Oct 12, 2020

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?

@colxi
Copy link

colxi commented Dec 19, 2020

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.

@probil
Copy link
Owner

probil commented Dec 19, 2020

vue-moveable is not compatible with Vue 3 just yet

@gabojkz
Copy link
Author

gabojkz commented Dec 20, 2020

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

@labbomb
Copy link

labbomb commented Mar 29, 2021

When will it be supported in vue3

@gabojkz
Copy link
Author

gabojkz commented Apr 3, 2021

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

@Sainkhishig
Copy link

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

thanks a lot. it saved me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants