Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix synonyms for <template>
`<template>` should be an element but not syntax.
  • Loading branch information
Jiaxing Hu authored Oct 13, 2017
commit 252ff529c5d4f023b358128f7669a3afe28c4cb4
2 changes: 1 addition & 1 deletion src/v2/guide/conditional.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Another option for conditionally displaying an element is the `v-show` directive

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.

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

## `v-if` vs `v-show`

Expand Down