Is there a way to pass parameter into getter of vuex store? Something like:
vuex
store
new Vuex.Store({ getters: { someMethod(arg){
You can use the MapGetters helper like this, once define store getters:
new Vuex.Store({ getters: { someMethod(state){ return (value) => { return value; } } } })
Then call getter from a component like this: