Change another module state from one module in Vuex

Try it with following parameters as suggested here;

commit('TOGGLE_LOADING', null, { root: true })

If you have namespaced set to true (in Nuxt that’s the default when in modules mode), this becomes:

commit('loading/TOGGLE_LOADING', null, { root: true })

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)