diff options
| author | 2025-01-26 12:07:43 +0800 | |
|---|---|---|
| committer | 2025-01-26 12:07:43 +0800 | |
| commit | f682d264df77d58620991e53eefabbef436d2179 (patch) | |
| tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /src/router/index.ts | |
| parent | d4d7fac39528b978b742420a3cb4e91cea6f5834 (diff) | |
| download | HydroRollSite-f682d264df77d58620991e53eefabbef436d2179.tar.gz HydroRollSite-f682d264df77d58620991e53eefabbef436d2179.zip | |
重构
Diffstat (limited to 'src/router/index.ts')
| -rw-r--r-- | src/router/index.ts | 21 |
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 |
