Migration to standalone complete

This commit is contained in:
aditya.chandel
2025-01-12 19:58:59 -07:00
parent 4aa1e42e3c
commit ce1e02f173
4 changed files with 45 additions and 120 deletions
+29
View File
@@ -0,0 +1,29 @@
import {Routes} from '@angular/router';
import {PdfViewerComponent} from './book/components/pdf-viewer/pdf-viewer.component';
import {MainDashboardComponent} from './dashboard/components/main-dashboard/main-dashboard.component';
import {BookBrowserComponent} from './book/components/book-browser/book-browser.component';
import {AppLayoutComponent} from './layout/component/layout-main/app.layout.component';
export const routes: Routes = [
{
path: '', component: AppLayoutComponent,
children: [
{
path: '', component: MainDashboardComponent,
},
{
path: 'all-books', component: BookBrowserComponent,
},
{
path: 'library/:libraryId/books', component: BookBrowserComponent,
},
{
path: 'shelf/:shelfId/books', component: BookBrowserComponent,
}
]
},
{
path: 'pdf-viewer/book/:bookId',
component: PdfViewerComponent
}
];