[Vuejs]-Vue draggable : input field

0👍

There are a few things wrong, I spun up a new exmaple for you.
Example code here

your data needs to be formatted like this:

data () {
  return {
    list: [
      { name: 'allen' }
    ]
  }
}

In your component, you need to declare what other components it will use:

import draggable from "vuedraggable";


export default {
  name: "App",
  components: {draggable}
}

Leave a comment