cssreactjssasstailwind-csstailwind-css-3

How to use SCSS with Tailwind CSS?


I am learning Tailwind CSS. I want to use SCSS with Tailwind CSS.

How to achieve it?


Solution

  • It's pretty much same

    1. Install: npm install sass --save-dev
    2. Import: import '../scss/yourStyle.scss';

    Your style will be applied.

    But I don't think you need SCSS when you use TailwindCSS though. TailwindCSS is very powerful