25 lines
867 B
TypeScript
25 lines
867 B
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
export const routes: Routes = [
|
|
{
|
|
path: 'login',
|
|
loadComponent: () => import('./pages/login/login.component').then(module => module.LoginComponent)
|
|
},
|
|
{
|
|
path: 'signin',
|
|
loadComponent: () => import('./pages/signin/signin.component').then(module => module.SigninComponent)
|
|
},
|
|
{
|
|
path: 'disconnect',
|
|
loadComponent: () => import('./pages/disconnection/disconnection.component').then(module => module.DisconnectionComponent)
|
|
},
|
|
{
|
|
path: 'publications/:publicationId',
|
|
loadComponent: () => import('./pages/publication/publication.component').then(module => module.PublicationComponent)
|
|
},
|
|
{
|
|
path: '**',
|
|
loadComponent: () => import('./pages/home/home.component').then(module => module.HomeComponent)
|
|
}
|
|
];
|