2018-03-17 18:26:18 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
import * as actions from './actions';
|
|
|
|
import * as getters from './getters';
|
|
|
|
import mutations from './mutations';
|
2018-12-23 12:14:25 +05:30
|
|
|
import createState from './state';
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
|
|
|
export default new Vuex.Store({
|
2018-12-23 12:14:25 +05:30
|
|
|
state: createState(),
|
2018-03-17 18:26:18 +05:30
|
|
|
actions,
|
|
|
|
getters,
|
|
|
|
mutations,
|
|
|
|
});
|