use the state of another module vuex code example Example: vuex state from another module let newLocalState = context.rootState.moduleName.stateName;