diff --git a/frontend/src/routers/router.ts b/frontend/src/routers/router.ts index aa0b82442..a65341ba4 100644 --- a/frontend/src/routers/router.ts +++ b/frontend/src/routers/router.ts @@ -2,7 +2,7 @@ import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'; import { Layout } from '@/routers/constant'; let modules = import.meta.globEager('./modules/*.ts'); -const xpackModules = import.meta.globEager('../xpack/frontend/routers/*.ts'); +const xpackModules = import.meta.globEager('../xpack/routers/*.ts'); modules = { ...modules, ...xpackModules }; const homeRouter: RouteRecordRaw = {