November 2017
Beginner to intermediate
398 pages
8h 42m
English
A router link gets the active class when the route it is associated with is currently active. By default, the component gets the router-link-active CSS class, so you can change its visuals accordingly:
<style lang="stylus" scoped> @import '../style/imports'; .router-link-active { border-bottom-color: $primary-color; } </style>
If you try the app now, you will find that something weird is happening with our menu. If you go to the Home page, it is working as expected: ...
Read now
Unlock full access