chore(vueflow): disable pkg until name issue is resolved

This commit is contained in:
braks
2022-10-13 14:21:18 +02:00
committed by Braks
parent 655a27d572
commit 11ee43ac9b
3 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,7 @@
<script lang="ts" setup>
import type { Elements } from 'vueflow'
import { Background, Controls, MiniMap, VueFlow, isNode, useVueFlow } from 'vueflow'
import { Background, Controls, MiniMap } from '@vue-flow/additional-components'
import type { Elements } from '@vue-flow/core'
import { VueFlow, isNode, useVueFlow } from '@vue-flow/core'
const elements = ref<Elements>([
{ id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 }, class: 'light' },
@@ -14,6 +15,7 @@ const { onPaneReady, onNodeDragStop, onConnect, addEdges, setTransform, toObject
defaultZoom: 1.5,
minZoom: 0.2,
maxZoom: 4,
connectOnClick: true,
})
onPaneReady(({ fitView }) => {