docs: fix additional-components imports
This commit is contained in:
@@ -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([
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user