14 lines
263 B
JavaScript
14 lines
263 B
JavaScript
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
import state from './state';
|
|
import * as actions from './actions';
|
|
import mutations from './mutations';
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default () =>
|
|
new Vuex.Store({
|
|
actions,
|
|
mutations,
|
|
state: state(),
|
|
});
|