R
R
Roman Rakzin2020-06-20 19:33:56
Angular
Roman Rakzin, 2020-06-20 19:33:56

Angular. How to load a specific routing route with a specific pattern?

I have all pages rendered according to the template

<app-header></app-header>
<router-outlet><router-outlet>
<app-footer></app-footer>


if the user follows the link `/login` , I draw the template as standard and it wedges in and the header and footer are drawn. I don't need them here and I can't get around it. I tried to add `*ngIf="header_is_visible"` type to the header and also to the footer, but this is a crutch. The page blinks and you can see how the header and footer are first drawn and then disappear.
How to connect a module with a login component that doesn't fit the standard template?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question