diff options
Diffstat (limited to 'frontend/src/router/index.ts')
| -rw-r--r-- | frontend/src/router/index.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/frontend/src/router/index.ts b/frontend/src/router/index.ts deleted file mode 100644 index a49ae50..0000000 --- a/frontend/src/router/index.ts +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | import { createRouter, createWebHistory } from 'vue-router' | ||
| 2 | import HomeView from '../views/HomeView.vue' | ||
| 3 | |||
| 4 | const router = createRouter({ | ||
| 5 | history: createWebHistory(import.meta.env.BASE_URL), | ||
| 6 | routes: [ | ||
| 7 | { | ||
| 8 | path: '/', | ||
| 9 | name: 'home', | ||
| 10 | component: HomeView | ||
| 11 | }, | ||
| 12 | { | ||
| 13 | path: '/about', | ||
| 14 | name: 'about', | ||
| 15 | // route level code-splitting | ||
| 16 | // this generates a separate chunk (About.[hash].js) for this route | ||
| 17 | // which is lazy-loaded when the route is visited. | ||
| 18 | component: () => import('../views/AboutView.vue') | ||
| 19 | } | ||
| 20 | ] | ||
| 21 | }) | ||
| 22 | |||
| 23 | export default router | ||