Skip to content

Commit 8f5f573

Browse files
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
1 parent 606b6d6 commit 8f5f573

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/guide/getting-started.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const y = computed(() => `${Math.round(props.position.y)}px`)
219219
<div>{{ data.label }}</div>
220220
221221
<div>
222-
{x} {y}
222+
{{ x }} {{ y }}
223223
</div>
224224
225225
<Handle type="source" :position="Position.Bottom" />
@@ -418,7 +418,7 @@ const y = computed(() => `${Math.round(props.position.y)}px`)
418418
<div>{{ data.label }}</div>
419419
420420
<div>
421-
{x} {y}
421+
{{ x }} {{ y }}
422422
</div>
423423
424424
<Handle type="source" :position="Position.Bottom" />

0 commit comments

Comments
 (0)