提交 | 用户 | 时间
|
fd2207
|
1 |
import Vue from 'vue' |
懒 |
2 |
import Vuex from 'vuex' |
|
3 |
import app from './modules/app' |
|
4 |
import dict from './modules/dict' |
|
5 |
import user from './modules/user' |
|
6 |
import tagsView from './modules/tagsView' |
|
7 |
import permission from './modules/permission' |
|
8 |
import settings from './modules/settings' |
|
9 |
import getters from './getters' |
|
10 |
|
|
11 |
Vue.use(Vuex) |
|
12 |
|
|
13 |
const store = new Vuex.Store({ |
|
14 |
modules: { |
|
15 |
app, |
|
16 |
dict, |
|
17 |
user, |
|
18 |
tagsView, |
|
19 |
permission, |
|
20 |
settings |
|
21 |
}, |
|
22 |
getters |
|
23 |
}) |
|
24 |
|
|
25 |
export default store |