Skip to content

Commit 8914211

Browse files
Jiaxing Huchrisvfritz
authored andcommitted
fix synonyms for <template> (vuejs#1213)
`<template>` should be an element but not syntax.
1 parent 1f93f10 commit 8914211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/conditional.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Another option for conditionally displaying an element is the `v-show` directive
182182

183183
The difference is that an element with `v-show` will always be rendered and remain in the DOM; `v-show` only toggles the `display` CSS property of the element.
184184

185-
<p class="tip">Note that `v-show` doesn't support the `<template>` syntax, nor does it work with `v-else`.</p>
185+
<p class="tip">Note that `v-show` doesn't support the `<template>` element, nor does it work with `v-else`.</p>
186186

187187
## `v-if` vs `v-show`
188188

0 commit comments

Comments
 (0)