Как сказано в заголовке, стили CSS не загружаются правильно.Только после перезагрузки страницы.
Сначала при входе в систему:
Затем после обновления страницы:
Маршрутизация моего приложения:
const appRoutes: Routes = [
{
path: '',
canActivateChild: [AuthGuard],
children: [
{
path: 'auth',
component: UnauthenticatedContainerComponent,
data: { excludeLogin: true },
children: [
{ path: 'login', component: LoginComponent },
],
},
{
path: '',
component: AuthenticatedContainerComponent,
data: { requireLogin: true },
children: [
{
path: '',
component: RequestContainerComponent,
children: [
{ path: 'requests/list', component: RequestListComponent },
{ path: 'request', component: RequestComponent },
{ path: 'results/:id', component: RequestResultListComponent, canActivate: [TabGuard] },
],
},
{
path: 'maintenance',
component: MaintenanceComponent,
},
{
path: 'settings',
component: SettingsComponent,
},
{
path: 'administration',
component: AdminComponent,
},
{
path: 'train',
component: TrainComponent,
},
],
},
],
},
{ path: '**', redirectTo: '/' },
];