Showing
2 changed files
with
32 additions
and
1 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2025-03-20 20:36:36 | 2 | * @Date: 2025-03-20 20:36:36 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2025-03-21 12:08:30 | 4 | + * @LastEditTime: 2025-03-21 13:06:38 |
| 5 | * @FilePath: /mlaj/src/router/index.js | 5 | * @FilePath: /mlaj/src/router/index.js |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | */ | 7 | */ |
| ... | @@ -108,6 +108,12 @@ const routes = [ | ... | @@ -108,6 +108,12 @@ const routes = [ |
| 108 | component: () => import('../views/profile/MyFavoritesPage.vue'), | 108 | component: () => import('../views/profile/MyFavoritesPage.vue'), |
| 109 | meta: { title: '我的收藏' } | 109 | meta: { title: '我的收藏' } |
| 110 | }, | 110 | }, |
| 111 | + { | ||
| 112 | + path: '/test', | ||
| 113 | + name: 'test', | ||
| 114 | + component: () => import('../views/test.vue'), | ||
| 115 | + meta: { title: 'test' } | ||
| 116 | + }, | ||
| 111 | ] | 117 | ] |
| 112 | 118 | ||
| 113 | const router = createRouter({ | 119 | const router = createRouter({ | ... | ... |
src/views/test.vue
0 → 100644
| 1 | +<!-- | ||
| 2 | + * @Date: 2025-03-21 13:12:37 | ||
| 3 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 4 | + * @LastEditTime: 2025-03-21 13:12:54 | ||
| 5 | + * @FilePath: /mlaj/src/views/test.vue | ||
| 6 | + * @Description: 文件描述 | ||
| 7 | +--> | ||
| 8 | +<!-- | ||
| 9 | + * @Date: 2025-03-20 19:53:12 | ||
| 10 | + * @LastEditors: hookehuyr hookehuyr@gmail.com | ||
| 11 | + * @LastEditTime: 2025-03-20 23:56:05 | ||
| 12 | + * @FilePath: /mlaj/src/App.vue | ||
| 13 | + * @Description: 文件描述 | ||
| 14 | +--> | ||
| 15 | +<script setup> | ||
| 16 | + | ||
| 17 | +</script> | ||
| 18 | + | ||
| 19 | +<template> | ||
| 20 | + <div></div> | ||
| 21 | +</template> | ||
| 22 | + | ||
| 23 | +<style> | ||
| 24 | + | ||
| 25 | +</style> |
-
Please register or login to post a comment