2018-09-03 03:49:52 -04:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
import state from './state';
|
|
|
|
import * as actions from './actions';
|
2018-10-03 11:29:07 -04:00
|
|
|
import * as getters from './getters';
|
2018-09-03 03:49:52 -04:00
|
|
|
import mutations from './mutations';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2018-10-10 02:23:54 -04:00
|
|
|
export default () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
actions,
|
|
|
|
mutations,
|
|
|
|
getters,
|
|
|
|
state: state(),
|
|
|
|
});
|