Skip to content

Commit 8101503

Browse files
Update custom-directives.md
1 parent 4d43757 commit 8101503

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/migration/custom-directives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ The final API is as follows:
5252

5353
```js
5454
const MyDirective = {
55-
created() {}, // new
56-
beforeMount(el, binding, vnode, prevVnode) {},
55+
created(el, binding, vnode, prevVnode) {}, // new
56+
beforeMount() {},
5757
mounted() {},
5858
beforeUpdate() {}, // new
5959
updated() {},

0 commit comments

Comments
 (0)