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

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

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