Vue.Draggable
Vue.Draggable copied to clipboard
[Vue warn]: Method "clone" has already been defined as a prop.
First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md
Jsfiddle link
Step by step scenario
using Nuxt (Vue 2).
I just put this code in my .vue file,
<draggable></draggable>
there is an error : [Vue warn]: Method "clone" has already been defined as a prop.
I already installed vuedraggable 2.24.1
In my plugins/vuedraggable.js
import Vue from 'vue'
import draggable from 'vuedraggable'
Vue.component('draggable', draggable)
And my nuxt.config.js
{src: '~/plugins/vuedraggable'}
Any help? :)
Actual Solution
Expected Solution
Not an expert in Nuxt but seems it tries to add clone property to vue.draggable and it has alreay one. Nothing I can do here, better check with them that's going on.
I had the same problem