File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ export default {
5
5
/**
6
6
* Vue's plugin install hook.
7
7
*
8
- * Collects all available plugins and maintains a list of hooks.
8
+ * Collects all available plugins and maintains a list of hooks, pointing to them .
9
9
* @param {Object } Vue The main Vue instance
10
- * @param {Object } options An object of available options:
11
- * "plugins": a Vue component (or list of components) that fits this
12
- * extension.
10
+ * @param {Object } options An named index of objects:
11
+ * "plugins": a named index of modules that export a plugin:
12
+ * name: the name of the plugin
13
+ * hooks: named index of hooks, each pointing to a list of Vue components
14
+ * implementing that hook. They will be rendered at each extensionpoint
15
+ * that has the same hook name.
13
16
*/
14
17
install : ( Vue , options ) => {
15
18
You can’t perform that action at this time.
0 commit comments