fix(guide): Add missing import

This commit is contained in:
Yung Venuz
2024-12-20 23:30:53 +08:00
committed by Braks
parent 2231ee4626
commit f438acbc9f

View File

@@ -185,7 +185,8 @@ const edges = ref([
```vue [SpecialNode.vue <LogosJavascript />]
<script setup>
import { computed } from 'vue'
import { Position, Handle } from '@vue-flow/core'
const props = defineProps({
position: {
type: Object,
@@ -387,6 +388,7 @@ const edges = ref<Edge[]>([
```vue [SpecialNode.vue <LogosTypescript />]
<script setup lang="ts">
import { computed } from 'vue'
import { Position, Handle } from '@vue-flow/core'
import type { NodeProps } from '@vue-flow/core'
const props = defineProps<NodeProps>()