1 year ago

Trying to implement Vuex, mutations not updating state

Posted 1 year ago by francoboy7

Hi everyone, I'm implementing Vuex and so far my initial state works fine.

However whenever I try to trigger a mutation and update a state, nothing happens. I mean I hit the mutation (console.log shows it) but it doesn't trigger the state update.

I thought about linking my whole github repo :P

All views are under** ressources/assets/js/views**

Vuex is in store.js (called by app.js)

There is a simple TESTER button located in LoginComponent.vue that is suppose to increments a number (the most basic mutation I could find in vue documentation) and even that doesn't work..

I'm near a nervous breakdown here :P

Thanks a lot

Please sign in or create an account to participate in this conversation.