Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « stores « contributors « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc739851aa787f6c2a2d5c4c224939f4517f0c80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Vue from 'vue';
import Vuex from 'vuex';
import state from './state';
import mutations from './mutations';
import * as getters from './getters';
import * as actions from './actions';

Vue.use(Vuex);

export const createStore = () =>
  new Vuex.Store({
    actions,
    mutations,
    getters,
    state: state(),
  });

export default createStore();