DEV Community

Discussion on: Setting up Tailwind CSS v2.0 with Create React App

Collapse
 
thefierycoder profile image
Rishi Purwar

No, there is not any need to create this file. It is optional but tailwindcss-config.js is necessary in future if you want to extend default tailwind configuration, you can do this inside this file.
Thanks for reading.

Collapse
 
prettyirrelevant profile image
Adewumi Isaac • Edited

You don't seem to get my point. I meant the "tailwind.config.js" in "npx tailwindcss init tailwind.config.js -p", i feel its redundant because "npx tailwindcss init -p" gives the same result which is creating a "tailwind.config.js" file and "postcss.config.js" file

Overall it's a nice article.