N
Nuxt6mo ago
Guayabas

css changes using tailwindcss only applying after a couple seconds

I am curently using PrimeVue and testing it out so I loaded a Menubar, it is loaded perfectly fine and the next step was to give it a color just to test, which I do through the passthrough options:
<Menubar :model="items" :pt="{root: {class: 'bg-primarycolor'}}"/>
<Menubar :model="items" :pt="{root: {class: 'bg-primarycolor'}}"/>
When I run the project it shows the color being applied for a couple of seconds and then it goes away, as shown here: https://gyazo.com/9ea9e39f5aa13667d61875412e49f9e1 I come from Vue3 and this has never happened so not sure what is happening here and would appreciate some help. Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server