generated from nhcarrigan/template
45 lines
1.3 KiB
TypeScript
45 lines
1.3 KiB
TypeScript
import { Route } from '@angular/router';
|
|
|
|
export const appRoutes: Route[] = [
|
|
{
|
|
path: '',
|
|
loadComponent: () => import('./components/home/home.component').then(m => m.HomeComponent)
|
|
},
|
|
{
|
|
path: 'games',
|
|
loadComponent: () => import('./components/games/games-list.component').then(m => m.GamesListComponent)
|
|
},
|
|
{
|
|
path: 'books',
|
|
loadComponent: () => import('./components/books/books-list.component').then(m => m.BooksListComponent)
|
|
},
|
|
{
|
|
path: 'music',
|
|
loadComponent: () => import('./components/music/music-list.component').then(m => m.MusicListComponent)
|
|
},
|
|
{
|
|
path: 'art',
|
|
loadComponent: () => import('./components/art/art-gallery.component').then(m => m.ArtGalleryComponent)
|
|
},
|
|
{
|
|
path: 'shows',
|
|
loadComponent: () => import('./components/shows/shows-list.component').then(m => m.ShowsListComponent)
|
|
},
|
|
{
|
|
path: 'manga',
|
|
loadComponent: () => import('./components/manga/manga-list.component').then(m => m.MangaListComponent)
|
|
},
|
|
{
|
|
path: 'admin/users',
|
|
loadComponent: () => import('./components/admin/admin-users.component').then(m => m.AdminUsersComponent)
|
|
},
|
|
{
|
|
path: 'admin/audit',
|
|
loadComponent: () => import('./components/admin/admin-audit.component').then(m => m.AdminAuditComponent)
|
|
},
|
|
{
|
|
path: '**',
|
|
redirectTo: ''
|
|
}
|
|
];
|