I am learning Tailwind css.
Could anyone help me with the following?
I want to use SCCSS with Tailwin CSS.
How to achieve it?
Thanks in advance!
I am learning Tailwind css.
Could anyone help me with the following?
I want to use SCCSS with Tailwin CSS.
How to achieve it?
Thanks in advance!
2
Answers
It’s pretty much same
npm install sass --save-dev
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
npm install node-sass
@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities';
tailwind.config.js
add to module.exports next code: