| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- 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: '/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: '/ai-painting',
- component: () => import('../views/AIPainting.vue')
- },
- // 智能问答
- {
- path: '/ai-questions',
- component: () => import('../views/AIQuestions.vue')
- },
- // AI初体验
- {
- path: '/ai-initial-experience',
- component: () => import('../views/AIInitialExperience.vue')
- },
- // 发展历程
- {
- path: '/ai-develop',
- component: () => import('../views/AIDevelop.vue')
- },
- // 高年级
- {
- path: '/senior-grade',
- component: () => import('../views/SeniorGrade.vue')
- }
- ]
- const router = createRouter({
- history: createWebHistory(),
- routes
- })
- export default router
|