Skip to content

Commit 80d60d3

Browse files
MacDadachrisvfritz
authored andcommitted
instance: @click => v-on:click (#1512)
This chapter is just after introduction, which doesn't tell us anything about `@` syntax. Only syntax already introduced should be used.
1 parent b0dda9d commit 80d60d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ new Vue({
9797
<div id="app">
9898
<p>{{ foo }}</p>
9999
<!-- this will no longer update `foo`! -->
100-
<button @click="foo = 'baz'">Change it</button>
100+
<button v-on:click="foo = 'baz'">Change it</button>
101101
</div>
102102
```
103103

0 commit comments

Comments
 (0)