1.0.1 • Published 5 years ago
vuex-grace-action v1.0.1
use
createAction
const actions = {
// increment({ state, commit }) {
// commit('INCREMENT')
// },
increment: createAction('INCREMENT'),
}
createActionStatus
const actions = {
// increment({ state, commit }) {
// commit('INCREMENT')
// },
increment: createActionStatus('INCREMENT'),
}