更新0.1.1版本

This commit is contained in:
Ah jung
2021-07-07 10:26:14 +08:00
parent b74b6e61a4
commit d423f27e94
174 changed files with 15966 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
const allModules = import.meta.globEager('./*/index.ts')
const modules = {} as any
Object.keys(allModules).forEach((path) => {
const fileName = path.split('/')[1]
modules[fileName] = allModules[path][fileName] || allModules[path].default || allModules[path]
})
// export default modules
import asyncRoute from './async-route'
import user from './user'
import tabsView from './tabs-view'
import lockscreen from './lockscreen'
export default {
asyncRoute,
user,
tabsView,
lockscreen
}