add search pages

This commit is contained in:
jxxghp
2023-07-07 17:40:43 +08:00
parent e8372b8566
commit 9104a25652
8 changed files with 276 additions and 7 deletions

View File

@@ -27,8 +27,9 @@ const router = createRouter({
},
},
{
path: 'resource',
path: 'resource/:keyword+',
component: () => import('../pages/resource.vue'),
props: true,
meta: {
requiresAuth: true,
},