Skip to content

Commit 3413b37

Browse files
mehanalavimajdnaokie
authored andcommitted
A better example for v-html (#1314)
1 parent ef5e105 commit 3413b37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
- **例:**
3636

3737
```html
38-
<div v-html="html"></div>
38+
<div v-html="'<h1>Hello World</h1>'"></div>
3939
```
4040

4141
- **参照:** [データバインディング構文 - 展開](../guide/template-syntax.html#生の-html)

0 commit comments

Comments
 (0)