Created
May 27, 2019 10:51
-
-
Save ansidev/f7d3203ff98e5e33c415fda95c58b44f to your computer and use it in GitHub Desktop.
Vuex Store
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const actions = { | |
foo: async ({ commit }, data) => { | |
commit('foo', data) | |
}, | |
bar: async ({}, data) => { | |
return data | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment