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.
27 lines
400 B
27 lines
400 B
import Vue from 'vue';
|
|
import Vuex from 'vuex';
|
|
|
|
import app from './modules/app';
|
|
import user from './modules/user';
|
|
import theme from './modules/theme';
|
|
|
|
Vue.use(Vuex);
|
|
|
|
const store = new Vuex.Store({
|
|
state: {
|
|
// 状态
|
|
},
|
|
mutations: {
|
|
// 改变方法
|
|
},
|
|
actions: {
|
|
|
|
},
|
|
modules: {
|
|
app,
|
|
user,
|
|
theme
|
|
}
|
|
});
|
|
|
|
export default store;
|
|
|