From f682d264df77d58620991e53eefabbef436d2179 Mon Sep 17 00:00:00 2001 From: LofiSu <163713803+LofiSu@users.noreply.github.com> Date: Sun, 26 Jan 2025 12:07:43 +0800 Subject: 重构 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.ts | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/router/index.ts (limited to 'src/router/index.ts') 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 -- cgit v1.2.3-70-g09d2