Nice article ! I had doubt that don't we need to install craco so that we can use tailwindcss with craco ? Also it would be great if you could create a component and add a screenshot of code as well as preview of the element 👍
I haven't used craco before. To my knowledge, I think craco is used to override the PostCSS configuration. Correct me If I'm wrong.
In this article, I used postcss-cli to override the PostCSS configuration, so I think craco is not required.
Here I didn't create a component. I just shared how to configure react with TailwindCSS.
If you are interested, Then check my other article about react components, where I have shown the screenshot of the component. 👇🏻