Should I import Tailwind CSS in app.css or index.css?

tessalockwood

New member
I’m configuring Tailwind CSS in a React project and unsure which file is correct for importing it. Does using app.css instead of index.css affect global styling, load order, or best practices in real-world projects?
 
Tailwind gets normally imported into a primary world file such as index.css in order to have the styles applied throughout an entire application.
 
Back
Top