Preface: I'm brand new to React and Webpack, so this question is all kinds of naive.
Say I have two components: App and Card. The Webpack entry point is App.js, which imports App.css and Card.js. Card.js imports Card.css. How do I ensure Webpack concatenates the CSS in the correct order? That order being:
The @tailwind preflight directive;
All the component styles;
And the @tailwind utilities directive and any custom utilities.
Thanks for any help. Tailwind looks really, really great. I can't wait to give it a try.
Preface: I'm brand new to React and Webpack, so this question is all kinds of naive.
Say I have two components:
App
andCard
. The Webpack entry point isApp.js
, which importsApp.css
andCard.js
.Card.js
importsCard.css
. How do I ensure Webpack concatenates the CSS in the correct order? That order being:@tailwind preflight
directive;@tailwind utilities
directive and any custom utilities.Thanks for any help. Tailwind looks really, really great. I can't wait to give it a try.