no message
Former-commit-id: a999552c633c7468ea0dc3a02684586ee278c0af [formerly a999552c633c7468ea0dc3a02684586ee278c0af [formerly a999552c633c7468ea0dc3a02684586ee278c0af [formerly a999552c633c7468ea0dc3a02684586ee278c0af [formerly 29b89fe809b751a13b96e7da444d27fa87860650 [formerly 8cd3e077bc1f315559e9a84c9567cd508ecb82b3]]]]] Former-commit-id: 325f7590ad3db9bf4b40b2d1934228cfe53f22c8 Former-commit-id: 75bdb2621ca0442a7f814975df296b727f53203f Former-commit-id: 51802ef4ec4f5fc78db1aeef2c50082383446e5d [formerly f8d29a8dd71d8736d3bdf97dcdf47348638195e3] Former-commit-id: 884d1722b50d76553006f958c373eb17a8850572 Former-commit-id: b5fe4d346a8ca33df14edde64534a2681fef68b6 Former-commit-id: 7d0bae570cb6c6ed18dae60a1a0b545f4880a174 Former-commit-id: 0134f45e357029a7582cc7ca90b185714e949734 Former-commit-id: 9dc73a3f388d5342937c2463dab29fcfdd810059
This commit is contained in:
@@ -1,34 +1,16 @@
|
|||||||
import db from './modules/db'
|
/**
|
||||||
import releases from './modules/releases'
|
* The file enables `@/store/index.js` to import all vuex modules
|
||||||
import user from './modules/user'
|
* in a one-shot manner. There should not be any reason to edit this file.
|
||||||
import menu from './modules/menu'
|
*/
|
||||||
import theme from './modules/theme'
|
|
||||||
import log from './modules/log'
|
const files = require.context('./modules', false, /\.js$/)
|
||||||
import account from './modules/account'
|
const modules = {}
|
||||||
import fullscreen from './modules/fullscreen'
|
|
||||||
import ua from './modules/ua'
|
files.keys().forEach(key => {
|
||||||
import gray from './modules/gray'
|
modules[key.replace(/(\.\/|\.js)/g, '')] = files(key).default
|
||||||
import page from './modules/page'
|
})
|
||||||
import transition from './modules/transition'
|
|
||||||
import search from './modules/search'
|
|
||||||
import size from './modules/size'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
namespaced: true,
|
namespaced: true,
|
||||||
modules: {
|
modules
|
||||||
db,
|
|
||||||
releases,
|
|
||||||
user,
|
|
||||||
menu,
|
|
||||||
theme,
|
|
||||||
log,
|
|
||||||
account,
|
|
||||||
fullscreen,
|
|
||||||
ua,
|
|
||||||
gray,
|
|
||||||
page,
|
|
||||||
transition,
|
|
||||||
search,
|
|
||||||
size
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user