INNER CODE UNIT · TypeScript
LearningRoadmapPage
Earth-OL-Player/ai_learn_project · ai-learn-web/src/router/index.ts:8
const LearningRoadmapPage = () => import('../pages/learning-roadmap/LearningRoadmapPage.vue');
const SuggestionsCommentsPage = () => import('../pages/suggestions-comments/SuggestionsCommentsPage.vue');
const InterviewQuestionsPage = () => import('../pages/interview-questions/InterviewQuestionsPage.vue');
const PracticeAgentPage = () => import('../pages/practice-agent/PracticeAgentPage.vue');
const ProfilePage = () => import('../pages/profile/ProfilePage.vue');
// 管理后台访问频率较低,单独懒加载可减少普通用户首屏体积。
const AdminCenterPage = () => import('../pages/admin/AdminCenterPage.vue');
const UserManagePage = () => import('../pages/admin/UserManagePage.vue');
const SystemQuestionBankManagePage = () => import('../pages/admin/SystemQuestionBankManagePage.vue');
const RedemptionCodeManagePage = () => import('../pages/admin/RedemptionCodeManagePage.vue');
const ModelConfigManagePage = () => import('../pages/admin/ModelConfigManagePage.vue');
const LogLevelManagePage = () => import('../pages/admin/LogLevelManagePage.vue');
/**
* 创建前端路由实例。
*/
const router = createRouter({