import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Tpage',
    component: () => import('../views/TPage/index.vue')
  },
  {
    path: '/learn-report',
    name: 'learn-report',
    component: () => import('../views/LearnReport/index.vue')
  },
  {
    path: '/distance-tip',
    name: 'distance-tip',
    component: () => import('../views/DistanceTip/index.vue')
  },
  {
    path: '/blue-light-tip',
    name: 'blue-light-tip',
    component: () => import('../views/BlueLightTip/index.vue')
  }
]

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

export default router
