Skip to content

Commit 795c02b

Browse files
authored
docs: change examples to use {name} variable (#326)
I'm following the final example on this page, which uses {name} in the template. I don't think there's a `world` variable, but I could be wrong 🌎
1 parent af3df3a commit 795c02b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ And we're done! Our components can now be written as:
128128

129129
```html
130130
<template lang="pug">
131-
h1 {world}
131+
h1 {name}
132132
</template>
133133

134134
<script lang="ts">
@@ -189,7 +189,7 @@ Now our components are a bit leaner!
189189

190190
```html
191191
<template>
192-
h1 {world}
192+
h1 {name}
193193
</template>
194194

195195
<script>

0 commit comments

Comments
 (0)