Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to call action from another module vuex

// action from one moduleA to moduleB
dispatch('moduleB/actionName', payload, { root:true })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #action #module #vuex
ADD COMMENT
Topic
Name
2+2 =