I've been working on bootstrap4 tabs and everything is working smoothly until I add a router link to the anchor tag. Strangely, only the hover effect works in this case. Can anyone help me troubleshoot this issue?
Below is my code snippet:
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.3/css/bootstrap.min.css" rel="stylesheet" />
<ul class="nav nav-tabs" id="header-nav">
<div class="container">
<div class="col-sm-1">
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#" routerLink="/account" id="account">Account</a>
</li>
</div>
<div class="col-sm-1">
<li class="nav-item" >
<a class="nav-link" data-toggle="tab" href="#" routerLink="/subscription" id="subscription-header">Subscription</a>
</li>
</div>
</div>
</ul>
Any assistance would be greatly appreciated. Thank you!