Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from livraison-dev/feat/dnd
Browse files Browse the repository at this point in the history
feat: add dnd wrapper component
  • Loading branch information
elonehoo authored Dec 22, 2023
2 parents e685ebb + b15acec commit 0df83a8
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"nuxt-icon": "^0.6.7",
"nuxt-vitest": "^0.11.5",
"typescript": "^5.3.3",
"vitest": "^1.0.2"
"vitest": "^1.0.2",
"vue-draggable-plus": "^0.3.0"
}
}
19 changes: 19 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions ui/dnd/Dnd.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script setup lang="ts">
import { VueDraggable } from 'vue-draggable-plus'
defineOptions({
name: 'LivraisonDnd',
})
</script>

<template>
<VueDraggable>
<slot />
</VueDraggable>
</template>

0 comments on commit 0df83a8

Please sign in to comment.