[+] Routes

This commit is contained in:
2025-10-27 15:42:13 +08:00
parent c7303bd5fd
commit fafe05a792
4 changed files with 16 additions and 13 deletions
+6 -6
View File
@@ -27,6 +27,12 @@ const routes: Array<RouteRecordRaw> = [
component: () => import('../views/Blog.vue'),
props: route => (route.query)
},
{
path: '/photo',
name: 'Photo',
meta: {title: '相册', nav: true},
component: () => import('../views/Photo.vue')
},
{
path: '/others',
name: 'Others',
@@ -51,12 +57,6 @@ const routes: Array<RouteRecordRaw> = [
meta: {title: '我做的', navBookmark: 'Others'},
component: () => import('../views/others/Projects.vue')
},
{
path: '/photo',
name: 'Photo',
meta: {title: '摄影', navBookmark: 'Others'},
component: () => import('../views/Photo.vue')
},
]
export const router = createRouter({