Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding Vue router active class #2302

Open
ph-git opened this issue Jan 29, 2021 · 1 comment
Open

Overriding Vue router active class #2302

ph-git opened this issue Jan 29, 2021 · 1 comment

Comments

@ph-git
Copy link

ph-git commented Jan 29, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants