chore(docs): update drag and drop example

This commit is contained in:
braks
2024-02-05 07:51:12 +01:00
committed by Braks
parent be57e51685
commit 88beaeca2b
7 changed files with 162 additions and 69 deletions
+3 -1
View File
@@ -8,7 +8,7 @@ import { UpdateEdgeApp } from './update-edge'
import { UpdateNodeApp, UpdateNodeCSS } from './update-node'
import { ValidationApp, ValidationCSS, ValidationCustomInput, ValidationCustomNode } from './validation'
import { SaveRestoreApp, SaveRestoreCSS, SaveRestoreControls } from './save-restore'
import { DndApp, DndCSS, DndSidebar } from './dnd'
import { DndApp, DndBackground, DndCSS, DndScript, DndSidebar } from './dnd'
import { EmptyApp } from './empty'
import { HiddenApp } from './hidden'
import { InteractionApp, InteractionCSS, InteractionControls } from './interaction'
@@ -75,7 +75,9 @@ export const exampleImports = {
dnd: {
'App.vue': DndApp,
'Sidebar.vue': DndSidebar,
'DropzoneBackground.vue': DndBackground,
'style.css': DndCSS,
'useDnD.js': DndScript,
},
empty: {
'App.vue': EmptyApp,