gitlab-org--gitlab-foss/app/assets/javascripts/serverless/store/index.js
2019-04-06 02:02:39 +00:00

18 lines
369 B
JavaScript

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