chore(examples): install vueflow pkg

This commit is contained in:
braks
2022-10-10 21:33:44 +02:00
committed by Braks
parent 688c931b3a
commit d1e9ee596c
3 changed files with 67 additions and 150 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
<script lang="ts" setup>
import type { Elements } from '@vue-flow/core'
import { VueFlow, isNode, useVueFlow } from '@vue-flow/core'
import { Background, Controls, MiniMap } from '@vue-flow/additional-components'
import type { Elements } from 'vueflow'
import { Background, Controls, MiniMap, VueFlow, isNode, useVueFlow } from 'vueflow'
const elements = ref<Elements>([
{ id: '1', type: 'input', label: 'Node 1', position: { x: 250, y: 5 }, class: 'light' },