Trying to develop a website fully in Blazor
I'm trying to figure out how to add e.g. active class to the currently selected element. I have a side menu bar and it would be awesome to know on which page the user is.
Found this JavaScript solution but I wanted to do it via #c
Any ideas on how to implement it?