aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/router/index.ts
diff options
context:
space:
mode:
authorLofiSu <163713803+LofiSu@users.noreply.github.com>2025-01-26 12:07:43 +0800
committerGitHub <noreply@github.com>2025-01-26 12:07:43 +0800
commitf682d264df77d58620991e53eefabbef436d2179 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/router/index.ts
parentd4d7fac39528b978b742420a3cb4e91cea6f5834 (diff)
downloadHydroRollSite-f682d264df77d58620991e53eefabbef436d2179.tar.gz
HydroRollSite-f682d264df77d58620991e53eefabbef436d2179.zip
重构
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
deleted file mode 100644
index 38c65fd..0000000
--- a/src/router/index.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-// Composables
-import { createRouter, createWebHistory } from 'vue-router'
-
-const routes = [
- {
- path: '/',
- component: () => import('@/views/index/index.vue'),
- },
- {
- path: '/:path(.*)',
- name: '404',
- component: () => import('@/views/404.vue'),
- }
-]
-
-const router = createRouter({
- history: createWebHistory(process.env.BASE_URL),
- routes,
-})
-
-export default router