[Vuejs]-Vue to don't assign active class ever

0👍

The hack that got the look I wanted was to modify the dropdown-item CSS:

.dropdown-item.active, .dropdown-item:active {
    color: #000000;
    text-decoration: none;
    background-color: #ffffff;
}

but I still think that there must be a solution so that I don’t set links to active. Because I have links other places than just in this dropdown menu, and don’t think writing a ton of CSS is the right answer.

Leave a comment