diff --git a/frontend/components/item/Tree.vue b/frontend/components/item/Tree.vue index 2dece22..519253c 100644 --- a/frontend/components/item/Tree.vue +++ b/frontend/components/item/Tree.vue @@ -15,10 +15,11 @@ for(let item of items.value) { itemMap.set(item.id, item) } -import { LinePath } from 'svg-dom-arrows'; +import pkg from 'svg-dom-arrows'; +const { LinePath } = pkg; const start : Ref = useTemplateRef("start") -const arrows : Array = [] +const arrows : Array = [] onMounted(() => { refreshArrows()