primefaces / primevue-tailwind

PrimeVue Components Styled with Tailwind CSS
https://tailwind.primevue.org
MIT License
627 stars 76 forks source link

Menubar item link is missing class #338

Closed ahsan2649 closed 1 month ago

ahsan2649 commented 1 month ago

The menubar component's items is implemented as a link(anchor tag) inside a div, inside a list item(li tag). The list item has the class p-menubar-item. The div has the class p-menubar-item-content. The anchor tag is supposed to have the class p-menubar-item-link, but it doesn't appear in the dom. image

ahsan2649 commented 1 month ago

Apparently, this happens when router-link is used without the custom attribute, passing the href and navigate props down to the anchor tags. Resolved.