DEV Community

Discussion on: Add Tailwind CSS to your Quasar project in 5 minutes or less.

linnaek profile image

Thank you for these clear directions. I have been trying to attach Tailwind to Quasar components (ex q-input) that already have their own CSS. So far the Quasar CSS has been overwriting most of the Tailwind CSS. Do you have suggestions on how to reverse this? (my Tailwind classes are prefixed with tw-)

eltoritoelvis profile image
Elvis Ibarra πŸƒ Author

Hi LinnaeK πŸ‘‹,

Thanks for your question. I’m currently sticking to using Quasar’s CSS in my own project rather than trying to fight with the framework as I don’t think there currently is a way to fix the conflicts you described.

I mainly wrote that for fun and would wait until/if this is fixed before trying to use Tailwind & Quasar together on a production app without running into these issues.

There’s an open issue about this on Quasar’s Github page. 

I hope they are able to β€œfix” this as I would love to be able to use either or both options.