2018-11-20 20:47:30 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
import state from './state';
|
|
|
|
import * as actions from './actions';
|
2018-12-05 23:21:45 +05:30
|
|
|
import * as getters from './getters';
|
2018-11-20 20:47:30 +05:30
|
|
|
import mutations from './mutations';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
export default () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
actions,
|
|
|
|
mutations,
|
|
|
|
getters,
|
|
|
|
state: state(),
|
|
|
|
});
|