Answer the question
In order to leave comments, you need to log in
How to organize tabs in Angular?
I have a small project, it consists of a left menu and a central area, the main part of which is the router-outlet, in which the components are displayed and below this outlet there is a lamp chat. I also note that I use bootstrap.
The structure of app.component.html is the following:
<div class='container-fluid'>
<div class='row'>
<div class='col-sm-3'>
<app-nav-menu></app-nav-menu>
</div>
<div class='col-sm-9 body-content app-content'>
<router-outlet></router-outlet>
<app-chat-window class="chat"></app-chat-window>
</div>
</div>
</div>
const routes: Routes = [{
path: 'issue', children: [
{ path: 'list', component: ListComponent },
{ path: 'edit/:id', component: EditComponent },
]
}];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question