We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e4d97f commit 0fcc7f4Copy full SHA for 0fcc7f4
docs/guide/modules.md
@@ -151,6 +151,7 @@ modules: {
151
someGetter (state, getters, rootState, rootGetters) {
152
getters.someOtherGetter // -> 'foo/someOtherGetter'
153
rootGetters.someOtherGetter // -> 'someOtherGetter'
154
+ rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'
155
},
156
someOtherGetter: state => { ... }
157
@@ -161,6 +162,7 @@ modules: {
161
162
someAction ({ dispatch, commit, getters, rootGetters }) {
163
getters.someGetter // -> 'foo/someGetter'
164
rootGetters.someGetter // -> 'someGetter'
165
+ rootGetters['bar/someGetter'] // -> 'bar/someGetter'
166
167
dispatch('someOtherAction') // -> 'foo/someOtherAction'
168
dispatch('someOtherAction', null, { root: true }) // -> 'someOtherAction'
0 commit comments