chore(examples): install vueflow pkg
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore ."
|
||||
},
|
||||
"dependencies": {
|
||||
"vueflow": "workspace:*",
|
||||
"@vue-flow/additional-components": "workspace:*",
|
||||
"@vue-flow/core": "workspace:*"
|
||||
},
|
||||
|
||||
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user