debian-mirror-gitlab/app/assets/javascripts/registry/settings/store/index.js
2020-03-13 15:44:24 +05:30

18 lines
348 B
JavaScript

import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import mutations from './mutations';
import * as getters from './getters';
import state from './state';
Vue.use(Vuex);
export const createStore = () =>
new Vuex.Store({
state,
actions,
mutations,
getters,
});
export default createStore();