1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import Vue from 'vue'
| import Vuex from 'vuex'
| import state from './state.js'
| import mutations from './mutations.js'
| import actions from './actions.js'
| Vue.use(Vuex)
|
| const store = new Vuex.Store({
| state: state,
| mutations: mutations,
| actions: actions
| })
|
| export default store
|
|