I am trying to bind a sortable list in Vue.js, but the underlying data list is not updated:.
135135 bronze badges. 24.9k2020 gold badges9696 silver badges119119 bronze badges. 9696 silver badges119119 bronze badges.
Working Vue.js Sortable jsFiddle: https://jsfiddle.net/crabbly/vhsd3wwu/.
Binding to built-in attributes, like href or class.
Whenthe link field changes, so does the href. You can use this syntax for some cool use cases, including dynamic inline style attributes.
You can also use v-bind to pass props to child components.
The v-bind part of v-bind:prop is optional. You can also use :prop.Most large Vue codebases use :prop and avoid typing out v-bind. Vue School has some of our favorite Vue video courses. Their Vue.js Master Class walks you through building a real world application, and does a great job of teaching you how to integrate Vue with Firebase.