access vuex store module state from another module code example Example: vuex state from another module let newLocalState = context.rootState.moduleName.stateName;