Created
August 6, 2022 12:52
-
-
Save aniketmuruskar/987c1741b0fad250869e3635e13e7d36 to your computer and use it in GitHub Desktop.
App component having routing for demonstration to load component based on json response from server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container mt-4"> | |
<ul> | |
<li><a routerLink="/project-overview" routerLinkActive="active">Project Overview</a></li> | |
<li><a routerLink="/project-detail">Project Detail</a></li> | |
</ul> | |
<router-outlet></router-outlet> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment