Has some problem use this in vue 2.0
See original GitHub issueWhen use v-sortable
directive , the code gives following exception:
Uncaught Sortable: `el` must be HTMLElement, and not [object Undefined]
And nothing gets rendered. Libraries versions used:
"sortablejs": "^1.4.2",
"vue": "^2.0.1",
"vue-sortable": "^0.1.3"
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
has this plugin any incompatibility with vue 2.0? #10 - GitHub
I'm trying to use this plugin with vue 2.0 and I'm always getting the following error 'Uncaught Sortable: el must be HTMLElement, ...
Read more >vue.js - could not render all <div>s within a template
I am composing a modal component as I learn VueJS. The modal component basically consists of two major elements: the actual box containing...
Read more >Frequently Asked Questions - Vue.js
A hello world Vue app that only uses the absolutely minimal APIs has a baseline size of only around 16kb, with minification and...
Read more >Vue router not work in action.js and other file [ Vue 2.0 ]
I've migrated from vue 1.0 to 2.0 and have some problem that I can't use router in actions.js in 1.0 it's work properly...
Read more >[SOLVED] This.$refs.key returns undefined when it really is
Hello. I have a problem exactly the same as defined here although this one is archived. I am using Vue 2.0 with Webpack....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This library is not compatible with Vue.js 2.0 at the moment due to significant API changes in the new version.
Update: there is a PR for supporting v2: https://github.com/sagalbot/vue-sortable/pull/13
谢谢 @FrankFang 提供的方案 https://github.com/sagalbot/vue-sortable/issues/10#issuecomment-272709457
之前自己的