Skip to content

Commit 2293f07

Browse files
authored
adding missing code block
1 parent e9a1574 commit 2293f07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
A) You cannot pass a string to `template`:
1111

1212
```js
13+
new Vue({
14+
template: '<div>{{ hi }}</div>'
15+
})
1316
```
1417

1518
B) You cannot mount to a DOM element and use its HTML as your template:

0 commit comments

Comments
 (0)