debian-mirror-gitlab/app/assets/javascripts/notes/stores/index.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
300 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import Vue from 'vue';
import Vuex from 'vuex';
2018-12-05 23:21:45 +05:30
import notesModule from './modules';
2018-03-17 18:26:18 +05:30
Vue.use(Vuex);
2020-05-24 23:13:21 +05:30
// 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();