You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
301 B
JavaScript
19 lines
301 B
JavaScript
4 years ago
|
import Vue from 'vue'
|
||
|
import Vuex from 'vuex'
|
||
|
|
||
|
import state from './state.js'
|
||
|
import getters from './getters.js'
|
||
|
import mutations from './mutations.js'
|
||
|
import actions from './actions.js'
|
||
|
|
||
|
Vue.use(Vuex)
|
||
|
|
||
|
const store = new Vuex.Store({
|
||
|
state,
|
||
|
mutations,
|
||
|
getters,
|
||
|
actions
|
||
|
})
|
||
|
|
||
|
export default store
|