Hi I am using vuex persistedstate to persist my state.
import createPersistedState from 'vuex-persistedstate'
const store = new Vuex.Store({
// ...
plugins: [createPersistedState()]
})
What I want to do is update a store state in another tab and the updated store state should be reflected in other open tabs of my app.
How can I achieve so.
Use for it vuex-shared-mutations:
GitHub link

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With