Skip to content

Commit 49b641c

Browse files
committed
correct hooks usage in example
1 parent fe7dbb4 commit 49b641c

File tree

1 file changed

+4
-1
lines changed
  • generator/example/src/plugins/myplugin

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import FooComponent from './components/FooComponent.vue'
2+
23
export default {
3-
hooks: [FooComponent]
4+
hooks: {
5+
"plugins": [FooComponent]
6+
}
47
}

0 commit comments

Comments
 (0)