@vue-dnd-kit/core 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{README.md → README.txt} +7 -7
- package/package.json +1 -1
package/{README.md → README.txt}
RENAMED
|
@@ -111,15 +111,15 @@
|
|
|
111
111
|
Choose your preferred package manager:
|
|
112
112
|
|
|
113
113
|
```bash
|
|
114
|
-
npm install @vue-dnd-
|
|
114
|
+
npm install @vue-dnd-kit/core
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
```bash
|
|
118
|
-
yarn add @vue-dnd-
|
|
118
|
+
yarn add @vue-dnd-kit/core
|
|
119
119
|
```
|
|
120
120
|
|
|
121
121
|
```bash
|
|
122
|
-
pnpm install @vue-dnd-
|
|
122
|
+
pnpm install @vue-dnd-kit/core
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
## Basic Usage
|
|
@@ -131,7 +131,7 @@ pnpm install @vue-dnd-hooks/core
|
|
|
131
131
|
```vue
|
|
132
132
|
<script setup lang="ts">
|
|
133
133
|
import { ref } from 'vue';
|
|
134
|
-
import { DragOverlay } from '@vue-dnd-
|
|
134
|
+
import { DragOverlay } from '@vue-dnd-kit/core';
|
|
135
135
|
import Draggable from './components/Draggable.vue';
|
|
136
136
|
import Droppable from './components/Droppable.vue';
|
|
137
137
|
|
|
@@ -165,7 +165,7 @@ pnpm install @vue-dnd-hooks/core
|
|
|
165
165
|
|
|
166
166
|
```vue
|
|
167
167
|
<script setup lang="ts">
|
|
168
|
-
import { useDraggable } from '@vue-dnd-
|
|
168
|
+
import { useDraggable } from '@vue-dnd-kit/core';
|
|
169
169
|
|
|
170
170
|
const emit = defineEmits<{
|
|
171
171
|
(e: 'end'): void;
|
|
@@ -193,13 +193,13 @@ pnpm install @vue-dnd-hooks/core
|
|
|
193
193
|
</style>
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
### Droppable.vue
|
|
196
|
+
### Droppable.vue
|
|
197
197
|
|
|
198
198
|
<sup>🧩 components/Droppable.vue</sup>
|
|
199
199
|
|
|
200
200
|
```vue
|
|
201
201
|
<script setup lang="ts">
|
|
202
|
-
import { useDroppable } from '@vue-dnd-
|
|
202
|
+
import { useDroppable } from '@vue-dnd-kit/core';
|
|
203
203
|
|
|
204
204
|
const emit = defineEmits<{
|
|
205
205
|
(e: 'drop'): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-dnd-kit/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "Core functionality for Vue DnD Kit - a lightweight Vue 3 library for building performant and accessible drag and drop interfaces",
|
|
5
5
|
"author": "ZiZIGY",
|
|
6
6
|
"license": "MIT",
|