Skip to content

Instantly share code, notes, and snippets.

@c0depanda
Last active February 19, 2019 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c0depanda/9d8439295ddef73e597b98fc0d1df565 to your computer and use it in GitHub Desktop.
Save c0depanda/9d8439295ddef73e597b98fc0d1df565 to your computer and use it in GitHub Desktop.
import Vue from 'vue'
import Vuex from 'vuex'
import state from './state'
import getters from './getters'
import mutations from './mutations'
import actions from './actions'
import cart from './modules/cart'
Vue.use(Vuex)
export default new Vuex.Store({
state,
getters,
mutations,
actions,
modules: {
cart
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment