debian-mirror-gitlab/app/assets/javascripts/milestones/stores/index.js

17 lines
326 B
JavaScript
Raw Normal View History

2020-01-01 13:55:28 +05:30
import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
2020-03-13 15:44:24 +05:30
import * as getters from './getters';
2021-01-03 14:25:43 +05:30
import mutations from './mutations';
import createState from './state';
2020-01-01 13:55:28 +05:30
Vue.use(Vuex);
2021-01-03 14:25:43 +05:30
export default () =>
2020-01-01 13:55:28 +05:30
new Vuex.Store({
actions,
2020-03-13 15:44:24 +05:30
getters,
2021-01-03 14:25:43 +05:30
mutations,
state: createState(),
2020-01-01 13:55:28 +05:30
});