chore: Update router links and remove unused pages
All checks were successful
CI / cache-and-install (push) Successful in 4m0s

This commit is contained in:
严浩
2024-08-05 17:36:40 +08:00
parent fc60b67aa6
commit d00978f7bb
6 changed files with 11 additions and 9 deletions

View File

@ -1,7 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router'
import { routes, handleHotUpdate } from 'vue-router/auto-routes'
export const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
// routes: [
@ -19,11 +18,11 @@ export const router = createRouter({
// component: () => import('../views/AboutView.vue')
// }
// ],
routes,
routes
})
export default router
if (import.meta.hot) {
handleHotUpdate(router)
}
}