Skip to content

Commit 9c34f13

Browse files
authored
examples (todomvc): change @vnode-mounted to @vue:mounted (#2418)
This example was using a deprecated API (`@vnode-mounted`), so I updated it.
1 parent 9b06c2f commit 9c34f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/examples/src/todomvc/App/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1>todos</h1>
3434
class="edit"
3535
type="text"
3636
v-model="todo.title"
37-
@vnode-mounted="({ el }) => el.focus()"
37+
@vue:mounted="({ el }) => el.focus()"
3838
@blur="doneEdit(todo)"
3939
@keyup.enter="doneEdit(todo)"
4040
@keyup.escape="cancelEdit(todo)"

0 commit comments

Comments
 (0)