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