tailwindlabs / discuss

A place to ask questions, get help, or share what you've built with Tailwind CSS.
MIT License
171 stars 9 forks source link

Can tailwind be imported into a mature React project? #346

Open rja907 opened 5 years ago

rja907 commented 5 years ago

I looked into Tailwind and absolutely loved it. I was wondering if it can be imported into a mature React project (1k+ react components already there). I want to use Tailwind from here on out but still want the core functionality of the product to stay consistent.

Is this even possible? Any examples or docs on projects that did this?

hacknug commented 5 years ago

You shouldn't have any issues as long as you make sure there's no class collisions. Take a look at this page of the Docs: https://tailwindcss.com/docs/configuration/#prefix