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

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'Home',
    component: () => import("../views/Home.vue")
  },
  {
    path: '/history',
    name: 'History',
    component: () => import("../views/History.vue")
  }
]

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

export default router
