INNER CODE UNIT · TypeScript
ProfilePage
Earth-OL-Player/ai_learn_project · ai-learn-web/src/router/index.ts:12
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({
history: createWebHistory(),
routes: [
{
path: '/',