debian-mirror-gitlab/app/assets/javascripts/registry/settings/store/index.js

19 lines
348 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';
import mutations from './mutations';
2020-03-09 13:42:32 +05:30
import * as getters from './getters';
2020-01-01 13:55:28 +05:30
import state from './state';
Vue.use(Vuex);
export const createStore = () =>
new Vuex.Store({
state,
actions,
mutations,
2020-03-09 13:42:32 +05:30
getters,
2020-01-01 13:55:28 +05:30
});
export default createStore();