2018-11-20 20:47:30 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
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';
|
2021-03-11 19:13:27 +05:30
|
|
|
import state from './state';
|
2018-11-20 20:47:30 +05:30
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
export default () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
actions,
|
|
|
|
mutations,
|
|
|
|
getters,
|
|
|
|
state: state(),
|
|
|
|
});
|