Open web-dave opened 6 years ago
ng g c my-nav
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" >Angular-Essentials-Training</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#">Books</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
</ul>
</div>
</nav>
nav
component with angular-clinav
component in theappComponent
view