Implementation of vue router link Default a Tag Underline Removal

  • 2021-09-16 06:00:30
  • OfStack

I won't talk too much nonsense, let's look at the example directly ~


.router-link-active{
text-decoration: none;
}

router-link default a tab for vue will have 1 shadow when clicked

Additional knowledge: vue-router changes router-link when-click style

Default class: router-link-active: You can redefine the

Base class: linkActiveClass: Global configuration when creating routes, linkActiveClass:/Configure custom classes/


Related articles: