refactor: use dist pkg for examples

Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
bcakmakoglu
2022-02-11 13:36:17 +01:00
committed by Braks
parent 8260eabc58
commit 54e8301ddb
37 changed files with 68 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts" setup>
import { VueFlow, MiniMap, Controls, FlowInstance } from '@braks/vue-flow'
import { getElements } from './utils'
import { VueFlow, MiniMap, Controls, FlowInstance } from '~/index'
const onLoad = (flowInstance: FlowInstance) => {
flowInstance.fitView()