Skip to content

Commit 4edfc1d

Browse files
hello-lizhihuachrisvfritz
authored andcommitted
Update plugins.md (vuejs#1058)
* Update plugins.md https://github.com/vuejs/vuejs.org/blob/master/src/v2/guide/mixins.md#custom-option-merge-strategies Here, say 'A more advanced example can be found on Vuex's 1.x merging strategy' And, vuex 2.x not use `optionMergeStrategies`. So, i think 'Add some component options by global mixin. e.g. vuex' in [plugin.html](https://vuejs.org/v2/guide/plugins.html), means vuex 1.x * Update global mixin example to use vue-router
1 parent 6280b8c commit 4edfc1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Plugins usually add global-level functionality to Vue. There is no strictly defi
1212

1313
2. Add one or more global assets: directives/filters/transitions etc. e.g. [vue-touch](https://github.com/vuejs/vue-touch)
1414

15-
3. Add some component options by global mixin. e.g. [vuex](https://github.com/vuejs/vuex)
15+
3. Add some component options by global mixin. e.g. [vue-router](https://github.com/vuejs/vue-router)
1616

1717
4. Add some Vue instance methods by attaching them to Vue.prototype.
1818

0 commit comments

Comments
 (0)