2018-11-08 19:23:39 +05:30
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
import notesModule from '~/notes/stores/modules';
|
|
|
|
import diffsModule from '~/diffs/store/modules';
|
|
|
|
import mrPageModule from './modules';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2018-12-05 23:21:45 +05:30
|
|
|
export const createStore = () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
modules: {
|
2019-10-12 21:52:04 +05:30
|
|
|
page: mrPageModule(),
|
2018-12-05 23:21:45 +05:30
|
|
|
notes: notesModule(),
|
|
|
|
diffs: diffsModule(),
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
export default createStore();
|