DEV Community

Discussion on: 🚩 Vuex Pattern: Smart Module Registration

Collapse
 
heshamelmasry77 profile image
Hesham El Masry

okay but how to use it after we do that for example i used to do this :
context.commit('products/decrementProductInventory', product, {root: true})
how i am gonna use it now ?

Some comments have been hidden by the post's author - find out more