116
rated 0 times
[
117]
[
1]
/ answers: 1 / hits: 30190
/ 7 Years ago, sat, february 11, 2017, 12:00:00
How do you access rootState
in getters?
const getters = {
getParams: rootState => {
return rootState.route.params
},
}
The above doesn't work. How is this done?
More From » vue.js