chore: lint files
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { VueFlow, Node, useVueFlow } from '@braks/vue-flow'
|
||||
import type { Node } from '@braks/vue-flow'
|
||||
import { VueFlow, useVueFlow } from '@braks/vue-flow'
|
||||
import Sidebar from './Sidebar.vue'
|
||||
|
||||
let id = 0
|
||||
@@ -38,12 +39,14 @@ const onDrop = (event: DragEvent) => {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="dndflow" @drop="onDrop">
|
||||
<VueFlow @dragover="onDragOver" />
|
||||
<Sidebar />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style>
|
||||
@import 'dnd.css';
|
||||
</style>
|
||||
|
||||
@@ -6,6 +6,7 @@ const onDragStart = (event: DragEvent, nodeType: string) => {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<aside>
|
||||
<div class="description">You can drag these nodes to the pane on the left.</div>
|
||||
|
||||
Reference in New Issue
Block a user