src/router/routes/modules/ai.ts
@@ -1,6 +1,8 @@ import type { RouteRecordRaw } from 'vue-router'; const routes: RouteRecordRaw[] = [ import { isAiFeatureEnabled } from '#/utils/features'; const routes: RouteRecordRaw[] = isAiFeatureEnabled ? [ { path: '/ai', name: 'Ai', @@ -108,6 +110,6 @@ }, ], }, ]; ] : []; export default routes;