vuex map getters from another module code example
Example: vuex getter root state
const getters = {
getParams: (state, getters, rootState) => {
return rootState.route.params
}
}
const getters = {
getParams: (state, getters, rootState) => {
return rootState.route.params
}
}