debian-mirror-gitlab/app/assets/javascripts/projects/commits/store/index.js

16 lines
293 B
JavaScript
Raw Normal View History

2020-04-22 19:07:51 +05:30
import Vue from 'vue';
import Vuex from 'vuex';
import actions from './actions';
import mutations from './mutations';
import state from './state';
Vue.use(Vuex);
export const createStore = () => ({
actions,
mutations,
state: state(),
});
export default new Vuex.Store(createStore());