8cffa55b2c
- Export mr_notes module as function - Update specs refs of mr_notes/stores to factory EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15097
18 lines
397 B
JavaScript
18 lines
397 B
JavaScript
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);
|
|
|
|
export const createStore = () =>
|
|
new Vuex.Store({
|
|
modules: {
|
|
page: mrPageModule(),
|
|
notes: notesModule(),
|
|
diffs: diffsModule(),
|
|
},
|
|
});
|
|
|
|
export default createStore();
|