2018-07-23 16:54:48 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
import * as actions from './actions';
|
2018-07-31 15:50:34 +00:00
|
|
|
import * as getters from './getters';
|
2018-07-23 16:54:48 +00:00
|
|
|
import mutations from './mutations';
|
|
|
|
import state from './state';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2018-10-10 06:49:24 +00:00
|
|
|
export default () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
actions,
|
|
|
|
mutations,
|
|
|
|
getters,
|
|
|
|
state: state(),
|
|
|
|
});
|