diff --git a/src/guide/custom-directive.md b/src/guide/custom-directive.md index 5f3bad1a21..d3667f5d2c 100644 --- a/src/guide/custom-directive.md +++ b/src/guide/custom-directive.md @@ -220,7 +220,7 @@ To explain the details of how custom directives will work on components in 3.0, Will roughly compile into this: ```js -const vFoo = resolveDirective('demo') +const vDemo = resolveDirective('demo') return withDirectives(h('div'), [[vDemo, test]]) ```