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

index.js « new_cluster « stores « clusters « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ae082c07f26b2a81d451cfb315778f61e627ba8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Vue from 'vue';
import Vuex from 'vuex';
import state from './state';

Vue.use(Vuex);

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

export default createStore;