Here is how I initialize vuex:
Vue.use(Vuex);
const store = new Vuex.Store({
plugins: [createLogger({logger: console, collapsed: true})],
strict: true,
state: state,
getters: getters,
mutations: mutations,
actions: actions,
});
Vue.prototype.$store = store;
export default store;
The logs I get are like:
'mutation ADD_VIDEO_CREDIT @ 15:53:13.903'
'%c prev state' 'color: #9E9E9E; font-weight: bold' { profile: // a huge pile of text
'%c mutation' 'color: #03A9F4; font-weight: bold' { type: 'ADD_CREDIT', payload: {credit: 4} }
'%c next state' 'color: #4CAF50; font-weight: bold' { profile: // another huge pile of text
In my dreams I would like to only get:
type: 'ADD_CREDIT', payload: {credit: 4}
What is the closesd I cat get to that?