|
@ -8,11 +8,11 @@ import { |
|
|
} from "vue-router"; |
|
|
} from "vue-router"; |
|
|
import { router } from "./index"; |
|
|
import { router } from "./index"; |
|
|
import { loadEnv } from "../../build"; |
|
|
import { loadEnv } from "../../build"; |
|
|
import Layout from "/@/layout/index.vue"; |
|
|
|
|
|
import { useTimeoutFn } from "@vueuse/core"; |
|
|
import { useTimeoutFn } from "@vueuse/core"; |
|
|
import { RouteConfigs } from "/@/layout/types"; |
|
|
import { RouteConfigs } from "/@/layout/types"; |
|
|
import { buildHierarchyTree } from "/@/utils/tree"; |
|
|
import { buildHierarchyTree } from "/@/utils/tree"; |
|
|
import { usePermissionStoreHook } from "/@/store/modules/permission"; |
|
|
import { usePermissionStoreHook } from "/@/store/modules/permission"; |
|
|
|
|
|
const Layout = () => import("/@/layout/index.vue"); |
|
|
// https://cn.vitejs.dev/guide/features.html#glob-import
|
|
|
// https://cn.vitejs.dev/guide/features.html#glob-import
|
|
|
const modulesRoutes = import.meta.glob("/src/views/**/*.{vue,tsx}"); |
|
|
const modulesRoutes = import.meta.glob("/src/views/**/*.{vue,tsx}"); |
|
|
|
|
|
|
|
|