Skip to content

Commit 5bf630f

Browse files
committed
Merge branch 'main' of github.com:MaxLeiter/sortablejs-vue3
2 parents 8cf36e2 + b841148 commit 5bf630f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# SortableJS-vue3
22

3-
This is a thin wrapper around the great [SortableJS](https://github.com/SortableJS/Sortable) library. I had many issues migration from Vue.Draggable to vue.draggable.next, and after briefly investigating I decided that it was too complicated and a smaller solution was the answer. This wrapper tries to keep you as close to Sortable and vanilla JS as possible.
3+
This is a thin wrapper around the great [SortableJS](https://github.com/SortableJS/Sortable) library. I had many issues migrating from Vue.Draggable to vue.draggable.next, and after briefly investigating I decided that it was too complicated and a smaller solution was the answer. This wrapper tries to keep you as close to Sortable and vanilla JS as possible. Note that this library is small enough (see https://github.com/MaxLeiter/sortablejs-vue3/blob/main/src/components/Sortable.vue) that I recommend including it in your project without using npm and importing it as a local component. All you need is the linked file.
44

55
## Usage
6+
You can see some demo usage at https://github.com/MaxLeiter/sortablejs-vue3/blob/main/src/components/HelloWorld.vue
7+
68
1. `yarn add sortablejs-vue3 sortablejs` or `npm install sortablejs-vue3 sortablejs`
79
2. Import the component in your `<script setup>`: `import { Sortable } from 'sortablejs-vue'`
810
3. Use the component:

0 commit comments

Comments
 (0)