Skip to content

Commit 0bcc409

Browse files
Update README.md
1 parent f83a01e commit 0bcc409

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ With `transition-group`:
4747
</transition-group>
4848
</draggable>
4949
```
50+
.vue file:
51+
``` js
52+
import draggable from 'vuedraggable'
53+
...
54+
export default {
55+
components: {
56+
draggable,
57+
},
58+
...
59+
```
5060
5161
Draggable component should directly wrap the draggable elements, or a `transition-component` containing the draggable elements.
5262

0 commit comments

Comments
 (0)