feat books pages
All checks were successful
Deploy Application / deploy (push) Successful in 6s

This commit is contained in:
2025-06-14 18:14:50 +04:00
parent 991a8e0197
commit 615a89a1c6
26 changed files with 393 additions and 3 deletions

View File

@ -4,14 +4,21 @@ interface Route {
path: string
name: string
component: () => Promise<Component>
props?: boolean
}
const routes: Route[] = [
{
path: '/',
name: '/',
name: 'home',
component: () => import('@/pages/mainPage/indexPage.vue'),
},
{
path: '/books/:slug',
name: 'book-detail',
component: () => import('@/pages/books/_slug/indexBookPage.vue'),
props: true,
},
]
export default routes