docs: fix additional-components imports

This commit is contained in:
wangran03
2022-10-17 21:15:40 +08:00
committed by braks
parent 37d2cd09e2
commit 90eac5743a
3 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
<script setup>
import { Background, VueFlow, isNode } from '@vue-flow/core'
import { VueFlow, isNode } from '@vue-flow/core'
import { Background } from '@vue-flow/additional-components'
import { ref } from 'vue'
const elements = ref([

View File

@@ -1,6 +1,7 @@
<script lang="ts" setup>
import type { Connection, Edge, Elements } from '@vue-flow/core'
import { Background, VueFlow, addEdge } from '@vue-flow/core'
import { VueFlow, addEdge } from '@vue-flow/core'
import { Background } from '@vue-flow/additional-components'
import { ref } from 'vue'
import initialElements from './elements'
import { PathFindingEdge, PerfectArrow } from '~/index'

View File

@@ -1,6 +1,7 @@
<script lang="ts" setup>
import type { Elements, FlowEvents } from '@vue-flow/core'
import { Background, Controls, MiniMap, VueFlow, addEdge } from '@vue-flow/core'
import { VueFlow, addEdge } from '@vue-flow/core'
import { Background, Controls, MiniMap } from '@vue-flow/additional-components'
import { ref } from 'vue'
import { ResizeRotateNode } from '../src'
import initialElements from './elements'