docs: correct template syntax (#1797)

* Update getting-started.md

Fix the incorrect Mustache syntax in the example

* Update getting-started.md

* Update getting-started.md
This commit is contained in:
WangXiaolong
2025-03-30 17:12:20 +02:00
committed by GitHub
parent 606b6d64b4
commit 8f5f573815
+2 -2
View File
@@ -219,7 +219,7 @@ const y = computed(() => `${Math.round(props.position.y)}px`)
<div>{{ data.label }}</div> <div>{{ data.label }}</div>
<div> <div>
{x} {y} {{ x }} {{ y }}
</div> </div>
<Handle type="source" :position="Position.Bottom" /> <Handle type="source" :position="Position.Bottom" />
@@ -418,7 +418,7 @@ const y = computed(() => `${Math.round(props.position.y)}px`)
<div>{{ data.label }}</div> <div>{{ data.label }}</div>
<div> <div>
{x} {y} {{ x }} {{ y }}
</div> </div>
<Handle type="source" :position="Position.Bottom" /> <Handle type="source" :position="Position.Bottom" />