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: '/blockly-login', meta: {TENANT: '内部测试租户'}, component: () => import('../views/Login.vue') }, // 免登录 { path: '/quick-login', component: () => import('../views/QuickLogin.vue') }, { path: '/promotion-login', component: () => import('../views/PromotionLogin.vue') }, // 首页 { path: '/home', component: () => import('../components/HomePage.vue') }, // 智能课 { path: '/ai-general-course', component: () => import('../views/AIPage/AIGeneralCourse.vue') }, // AI实验室 { path: '/ai-laboratory', component: () => import('../views/AIPage/AILaboratory.vue') }, // 英文数字人老师 { path: '/ai-ennumerals', component: () => import('../views/EnNumerals/index.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/AIPage/AIPainting.vue') }, // 图生图 { path: '/ai-image', component: () => import('../views/AIPage/AIImageToImage.vue') }, // AI头像 { path: '/ai-avatar', component: () => import('../views/AIPage/AIAvatar.vue') }, // 图生视频 { path: '/ai-video', component: () => import('../views/AIPage/AIImageToVideo.vue') }, // 智能问答 { path: '/ai-questions', component: () => import('../views/AIPage/AIQuestions.vue') }, // 发展历程 { path: '/ai-develop', component: () => import('../views/AIPage/AIDevelop.vue') }, // 虚拟实验室 { path: '/virtual-laboratory', component: () => import('../views/virtuallaboratory/index.vue') }, // Blockly { path: '/blockly', component: () => import('../views/blockly/Blockly.vue') }, // Blockly2 { path: '/blockly2', component: () => import('../views/blockly/Blockly2.vue') }, { path: '/mapGame', component: () => import('../views/blockly/MapGame.vue') }, // 编程游戏列表 { path: '/programming02', component: () => import('../views/gamepage/GameIndex.vue') }, // 编程课 { path: '/programming', component: () => import('../views/programming/ProgrammingGame.vue') }, // 编程课列表 { path: '/programminglist', component: () => import('../views/programming/ProgrammingList.vue') }, // 编程课列表内容 { path: '/programmingcourset', component: () => import('../views/programming/ProgrammingCourset.vue') }, // 编程课视频 { path: '/interface', component: () => import('../views/programming/Interface.vue') }, ] const router = createRouter({ history: createWebHistory(), routes }) export default router