2020-01-01 13:55:28 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
import * as actions from './actions';
|
|
|
|
import mutations from './mutations';
|
2020-03-13 15:44:24 +05:30
|
|
|
import * as getters from './getters';
|
2020-01-01 13:55:28 +05:30
|
|
|
import state from './state';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
|
|
|
export const createStore = () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
state,
|
|
|
|
actions,
|
|
|
|
mutations,
|
2020-03-13 15:44:24 +05:30
|
|
|
getters,
|
2020-01-01 13:55:28 +05:30
|
|
|
});
|
|
|
|
|
|
|
|
export default createStore();
|