How to setup blazor starter such that the active link will be highlighted for each page ? also what's a similar good pattern for setting it up with html as well as mvc ?
Hi,
Thank you for reaching out to us.
Do you use Metronic's native menu solution?
In Metronic, we call the KTMenu.updateByLinkAttribute
function in the file Starterkit/Shared/MasterInit.razor to highlight the currently selected menu item. Alternatively, you can conditionally add an active
class to the menu items you wish to highlight.
Regards,
Lauris Stepanovs,
Keenthemes Support Team