import { createRouter, createWebHistory } from 'vue-router'
import AIWorkshop from '@view/AIWorkshop.vue'
import Math from '@view/math/math.vue'
import Essaycn from '@view/essaycn/essaycn.vue'
import Essayen from '@view/essayen/essayen.vue'
import Manim from '@view/manim/manim.vue'
import Ggb3d from '@view/ggb3d/ggb3d.vue'

const routes = [
  {
    path: '/',
    name: 'Home',
    component: AIWorkshop
  },
  {
    path: '/math',
    name: 'Math',
    component: Math
  },
  {
    path: '/essaycn',
    name: 'Essaycn',
    component: Essaycn
  },
  {
    path: '/essayen',
    name: 'Essayen',
    component: Essayen
  },
  {
    path: '/manim',
    name: 'Manim',
    component: Manim
  },
  {
    path: '/ggb3d',
    name: 'Ggb3d',
    component: Ggb3d
  },



  
  // 其他路由...
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router