debian-mirror-gitlab/app/assets/javascripts/projects/commits/store/index.js
2020-04-22 19:07:51 +05:30

15 lines
293 B
JavaScript

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());