Skip to content

Commit abcff03

Browse files
authored
Update README.md
Adding the `data` property to the component instance was necessary for me.
1 parent f66e77a commit abcff03

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ npm i -S vuedraggable@next
9191
components: {
9292
draggable,
9393
},
94+
data() {
95+
return {
96+
drag: false,
97+
}
98+
},
9499
...
95100
```
96101

0 commit comments

Comments
 (0)