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

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

Vue.use(Vuex);

// NOTE: Giving the option to either use a singleton or new instance of notes.
const notesStore = () => new Vuex.Store(notesModule());

export default notesStore;
export const store = notesStore();