Skip to content

Commit aeb6454

Browse files
authored
Update custom-directive.md (#382)
Fixed typo
1 parent 101d557 commit aeb6454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/custom-directive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ To explain the details of how custom directives will work on components in 3.0,
220220
Will roughly compile into this:
221221

222222
```js
223-
const vFoo = resolveDirective('demo')
223+
const vDemo = resolveDirective('demo')
224224

225225
return withDirectives(h('div'), [[vDemo, test]])
226226
```

0 commit comments

Comments
 (0)