Skip to content

Commit 1b15e24

Browse files
fix(docs): add missing ts script type to getting started example (#1971)
Update getting-started.md In the example `SpecialEdge.vue` file (TS), we missed the TypeScript language descriptor in the second script section.
1 parent 58498e8 commit 1b15e24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/guide/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ const props = defineProps<EdgeProps>()
436436
const path = computed(() => getBezierPath(props))
437437
</script>
438438
439-
<script>
439+
<script lang="ts">
440440
export default {
441441
inheritAttrs: false,
442442
}

0 commit comments

Comments
 (0)