import { createRouter, createWebHistory } from 'vue-router' import App from '../App.vue' // import HomePage from '../components/HomePage.vue' const routes = [ { path: '/', component: () => import('../views/Login.vue') }, { path: '/login', component: () => import('../views/Login.vue') }, // 免登录 { path: '/quick-login', component: () => import('../views/QuickLogin.vue') }, // Blockly { path: '/blockly', component: () => import('../views/Blockly.vue') }, // 首页 { path: '/home', component: () => import('../components/HomePage.vue') }, // 智能课 { path: '/ai-general-course', component: () => import('../views/AIGeneralCourse.vue') }, // AI实验室 { path: '/ai-laboratory', component: () => import('../views/AILaboratory.vue') }, // 能力测评 问卷列表 { path: '/evaluation', component: () => import('../views/evaluation/testList.vue') }, // 在线测试 { path: '/testTopic', component: () => import('../views/evaluation/testTopic.vue') }, // 个性化学习 { path: '/personalized', component: () => import('../views/personalized/Personalized.vue') }, // 测试提交 { path: '/testSubmit', component: () => import('../views/evaluation/testSubmit.vue') }, // 智能绘画 { path: '/ai-painting', component: () => import('../views/AIPainting.vue') }, // 图生图 { path: '/ai-image', component: () => import('../views/AIImageToImage.vue') }, // 图生视频 { path: '/ai-video', component: () => import('../views/AIImageToVideo.vue') }, // 智能问答 { path: '/ai-questions', component: () => import('../views/AIQuestions.vue') }, // 发展历程 { path: '/ai-develop', component: () => import('../views/AIDevelop.vue') } ] const router = createRouter({ history: createWebHistory(), routes }) export default router