You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
327 B
21 lines
327 B
/**
|
|
* vuex状态管理
|
|
*/
|
|
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
import getters from './getters';
|
|
import theme from './modules/theme';
|
|
import user from './modules/user';
|
|
|
|
Vue.use(Vuex);
|
|
|
|
export default new Vuex.Store({
|
|
state: {},
|
|
mutations: {},
|
|
actions: {},
|
|
modules: {
|
|
theme,
|
|
user
|
|
},
|
|
getters
|
|
});
|
|
|