import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '@/views/Home.vue'
import RelicDetail from "@/views/RelicDetail.vue"
// import store from '@/store/index.js'

const routes = [
  {
    path: '/',
    name: 'home-view',
    component: HomeView,
  },
  {
    path: '/relic-detail',
    name: 'RelicDetail',
    component: RelicDetail,
  }
]

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

export default router
