New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot destructure property 'element' of 'undefined' as it is undefined #122
Comments
Hey all, this issue went away after uninstalling If you run into this issue when migrating your Vue 2 app to Vue 3, you'll unfortunately have to wait until you are at a place where you can uninstall the compatibility build. So comment your draggable shit out, get rid of the rest of the vue warnings, uninstall compat, then update to the new vue 3 draggable syntax from this repo. |
Adding |
@icodepixels, I'm curious, do you mean adding this config to the component in which the draggable component is used? |
@Sammuel09 yes |
Hello, I am trying to upgrade to Vue 3, and am running into an error preventing me from displaying the draggable items. Here is the full output: It's saying the scoped slot props are undefined if I'm not mistaken? Whats going on here?
Here are the relevant packages:
This is how I'm using the
<draggable>
component in<template>
..This is how I'm importing it in
<script>
.. and I'm also using the newsetup()
functionAny help would be very much appreciated!
The text was updated successfully, but these errors were encountered: