vuex export modules from another file code example Example: vuex state from another module Click to copylet newLocalState = context.rootState.moduleName.stateName;