Correctly determine whether routes are active
Sometimes subroutes of routes are active (e.g. we have a route with timetable/
and one timetable/5/
and in both cases the item in the sidenav should be active. Maybe this code snippet helps (it works for the list-group, but not for the list-item-group, as this functions different, but maybe the latter one isn't needed?):
:value="$route.matched.some(route => route.name === menuItem.name)"