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

17 lines
322 B
JavaScript
Raw Normal View History

2018-03-17 18:26:18 +05:30
import Vue from 'vue';
import Vuex from 'vuex';
import * as actions from './actions';
import * as getters from './getters';
import mutations from './mutations';
2018-11-08 19:23:39 +05:30
import module from './modules';
2018-03-17 18:26:18 +05:30
Vue.use(Vuex);
2018-11-08 19:23:39 +05:30
export default () =>
new Vuex.Store({
state: module.state,
actions,
getters,
mutations,
});