16 lines
237 B
JavaScript
16 lines
237 B
JavaScript
import Vue from 'vue'
|
|
import Vuex from 'vuex'
|
|
import user from '@/store/modules/user'
|
|
import getters from './getters'
|
|
|
|
Vue.use(Vuex)
|
|
|
|
const store = new Vuex.Store({
|
|
modules: {
|
|
user
|
|
},
|
|
getters
|
|
})
|
|
|
|
export default store
|