Answer the question
In order to leave comments, you need to log in
How to implement a navigation menu with active links in next js?
We need the most banal and elementary example of how to implement a page navigation menu with the addition of the "active" class to the link if the page path matches the href of the link.
here is a large next js documentation https://nextjs.org/docs#with-url-object on routing, but I can’t figure out at least in which direction to move.
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