2021-03-11 19:13:27 +05:30
|
|
|
import Vue from 'vue';
|
2021-03-08 18:12:59 +05:30
|
|
|
import Vuex from 'vuex';
|
|
|
|
import mutations from './mutations';
|
|
|
|
import state from './state';
|
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2021-03-08 18:12:59 +05:30
|
|
|
export default () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
mutations,
|
2021-03-11 19:13:27 +05:30
|
|
|
state,
|
2021-03-08 18:12:59 +05:30
|
|
|
});
|