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

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

Vue.use(Vuex);

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

export default createStore;