Overriding Vue router active class
ph-git opened this issue · 1 comments
ph-git commented
Hello, I found this issue #653 (comment) which was never answered, and I am facing the same problem.
If someone could provide a complete example using a component (so props and classes), that would be very helpful.
HanniBal27-2001 commented
No solution for the "active class thing" but a workaround for the problem:
The Router link will generate an <a>
tag. By editing the CSS you can change the way the link is displayed.
e.g. <style scoped> a { text-decoration: none; color: black; } </style>
will remove the underline and make text color black.