FrontendDeveloper.in

Vue.js Track Detail

How do you dispatch actions?

Actions are simply triggered with the store.dispatch method as below,

store.dispatch('increment')