提交 | 用户 | age | ||
2a61f6 | 1 | import Vue from 'vue' |
L | 2 | import Vuex from 'vuex' |
3 | import getters from './getters' | |
4 | import app from './modules/app' | |
5 | import settings from './modules/settings' | |
6 | ||
7 | Vue.use(Vuex) | |
8 | ||
9 | const store = new Vuex.Store({ | |
10 | modules: { | |
11 | app, | |
12 | settings | |
13 | }, | |
14 | getters | |
15 | }) | |
16 | ||
17 | export default store |