| | |
| | | import { createStore } from 'vuex'; |
| | | import user from './modules/user'; |
| | | import common from './modules/common'; |
| | | import tags from './modules/tags'; |
| | | import logs from './modules/logs'; |
| | | import dict from './modules/dict'; |
| | | import getters from './getters'; |
| | | import { createStore } from 'vuex' |
| | | import user from './modules/user' |
| | | import common from './modules/common' |
| | | import tags from './modules/tags' |
| | | import logs from './modules/logs' |
| | | import dict from './modules/dict' |
| | | import getters from './getters' |
| | | import home from '@/store/modules/home' |
| | | import task from '@/store/modules/task' |
| | | |
| | | const store = createStore({ |
| | | modules: { |
| | | user, |
| | | common, |
| | | logs, |
| | | tags, |
| | | dict, |
| | | }, |
| | | getters, |
| | | }); |
| | | modules: { |
| | | user, |
| | | common, |
| | | logs, |
| | | tags, |
| | | dict, |
| | | home, |
| | | task, |
| | | }, |
| | | getters, |
| | | }) |
| | | |
| | | export default store; |
| | | export default store |