import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: HomeView,
    },
    {
      path: '/frame',
      name: 'frame',
      component: () => import('../views/FrameView.vue'),
    },
    {
      path: '/selectsource',
      name: 'selectsource',
      component: () => import('../views/SelectSourceView.vue'),
    },
    {
      path: '/shooting',
      name: 'shooting',
      component: () => import('../views/ShootingView.vue'),
    },
    {
      path: '/upload',
      name: 'upload',
      component: () => import('../views/UploadView.vue'),
    },
    {
      path: '/printstep',
      name: 'printstep',
      component: () => import('../views/PrintStepView.vue'),
    },
    {
      path: '/pickup',
      name: 'pickup',
      component: () => import('../views/PickupView.vue'),
    },
    {
      path: '/download',
      name: 'download',
      component: () => import('../views/DownloadView.vue'),
    },
  ],
})

export default router
