fix(guide): Add missing import
This commit is contained in:
@@ -185,6 +185,7 @@ const edges = ref([
|
|||||||
```vue [SpecialNode.vue <LogosJavascript />]
|
```vue [SpecialNode.vue <LogosJavascript />]
|
||||||
<script setup>
|
<script setup>
|
||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
import { Position, Handle } from '@vue-flow/core'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
position: {
|
position: {
|
||||||
@@ -387,6 +388,7 @@ const edges = ref<Edge[]>([
|
|||||||
```vue [SpecialNode.vue <LogosTypescript />]
|
```vue [SpecialNode.vue <LogosTypescript />]
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
import { Position, Handle } from '@vue-flow/core'
|
||||||
import type { NodeProps } from '@vue-flow/core'
|
import type { NodeProps } from '@vue-flow/core'
|
||||||
|
|
||||||
const props = defineProps<NodeProps>()
|
const props = defineProps<NodeProps>()
|
||||||
|
|||||||
Reference in New Issue
Block a user