debian-mirror-gitlab/app/assets/javascripts/cycle_analytics/store/index.js
2021-06-08 01:23:25 +05:30

21 lines
622 B
JavaScript

/**
* While we are in the process implementing group level features at the project level
* we will use a simplified vuex store for the project level, eventually this can be
* replaced with the store at ee/app/assets/javascripts/analytics/cycle_analytics/store/index.js
* once we have enough of the same features implemented across the project and group level
*/
import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import mutations from './mutations';
import state from './state';
Vue.use(Vuex);
export default () =>
new Vuex.Store({
actions,
mutations,
state,
});