-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I have a client with a stable vue2 site, no plans to move to vue3, and now the client wishes to add some drag-n-drop functionality. I've been researching all the various vue-drag packages and this seemed like a decent one to explore. However despite all attempts it seems unusable with vue2, specifically vue 2.6.14.
Here's a summary of the various errors I'm seeing:
let VueDragula = require('vue2-dragula')
results in:
Uncaught TypeError: __webpack_require__(...) is not a function
Well, ok, maybe there's something weird about my setup. Let's try import:
import VueDragula from 'vue2-dragula'
Vue.use(VueDragula)
results in
[Vue warn]: Vue is a constructor and should be called with the `new` keyword [vue@2.6.14:634:17](https://unpkg.com/vue@2.6.14)
Uncaught TypeError: this is undefined
so that doesn't work either.
Note: I'm not asking for help troubleshooting my setup, or workarounds to allow the plugin to work, simply questioning the current support for this package running on vue 2.6. Even the linked demo (https://jsfiddle.net/av1jLfn8/) is non-functional.
Metadata
Metadata
Assignees
Labels
No labels