You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to prevent the setting of the class attribute on a router-link component. Setting it to an empty string has no effect, I have to set it to " " currently to prevent the class being set.
In the example I am creating a <button>, and I thought it was strange that it would receive the same styling that I had already defined for the other router-link elements, so I tried to deactivate it. It's not a big deal, I'm using a.router-link-active for the other styling now so it does not clash any longer, but I was a bit surprised that this wouldn't work.
What problem does this feature solve?
I would like to prevent the setting of the class attribute on a router-link component. Setting it to an empty string has no effect, I have to set it to
" "
currently to prevent the class being set.What does the proposed API look like?
e.g.:
The text was updated successfully, but these errors were encountered: