Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind.の警告を消したい。
やりたいこと
以下の警告を消したい。
Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind.
optionsを渡すのは非推奨
以下のように、propsでoptionsをしているのは非推奨のようで、そのままv-bindしてあげればよかった。
<draggable v-model="filterList" v-bind:options="{ animation: 200, delay: 100 }" >
対応
以下のように:optionsを消したら警告も消えた。
<draggable v-model="filterList" v-bind="{ animation: 200, delay: 100 }" >