lundi 3 août 2020

Adding active class for nav-link with blank request

I use following code to make the url nav-link active class when route to 'localhost:3000/home' route :

<a class="nav-link " href="">Home</a>

But change url to 'localhost' route, the similar code is not working:

<a class="nav-link " href="">Home</a>


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire