Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import getters from './getters'
import mutations from './mutations'
import actions from './actions'
Vue.use(Vuex)
export default new Vuex.Store({
state,
getters,
mutations,
actions
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment