16 lines
318 B
JavaScript
16 lines
318 B
JavaScript
import Vue from 'vue';
|
|
// eslint-disable-next-line no-restricted-imports
|
|
import Vuex from 'vuex';
|
|
import batchComments from './modules/batch_comments';
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export const createStore = () =>
|
|
new Vuex.Store({
|
|
modules: {
|
|
batchComments: batchComments(),
|
|
},
|
|
});
|
|
|
|
export default createStore();
|