Skip to content

Commit 4ef9735

Browse files
committed
Merge pull request #100 from yanxyz/patch-3
Fix typo
2 parents 25cebdc + d2fd214 commit 4ef9735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/api/options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ If the option is available at instantiation, the instance will immediately enter
184184

185185
A string template to be used as the markup for the Vue instance. By default, the template will **replace** the mounted element. When the `replace` option is set to `false`, the template will be inserted into the mounted element instead. In both cases, any existing markup inside the mounted element will be ignored, unless [content insertion points](/guide/components.html#Content_Insertion) are present in the template.
186186

187-
If the string starts with `#` it will be used as a querySelector and use the selected element's innerHTML and the template string. This allows the use of the common `<script type="x-template">` trick to include templates.
187+
If the string starts with `#` it will be used as a querySelector and use the selected element's innerHTML as the template string. This allows the use of the common `<script type="x-template">` trick to include templates.
188188

189189
Note that if the template contains more than one top-level node, the instance will become a [fragment instance](/guide/best-practices.html#Fragment_Instance) - i.e. one that manages a list of nodes rather than a single node.
190190

0 commit comments

Comments
 (0)