Replies: 2 comments 2 replies
-
Tailwind is not really meant to be used with Sass, see https://tailwindcss.com/docs/compatibility#sass-less-and-stylus |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mohan9395 I struggled with the same issue as you although I use PostCSS (.css files). Fixed it by adding:
to my @philipp-spiess maybe this should be added to the Install Tailwind CSS with Angular documentation? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I have set up a new Angular 19 project with the SCSS preprocessor, using partial SCSS files. Everything has been configured correctly, and the project is working as expected. I then split my SCSS into multiple partial SCSS files, and the style changes worked fine.
However, I am facing an issue after installing TailwindCSS in my Angular project. The changes made in the SCSS but partial files are not being reflected in the styles.
Note: Only TailwindCSS is not working with partial SCSS files.
Example:
file name: _app.scss
body {
@apply text-14 md:text-18 bg-white;
}
Angular v19
TailwindCSS v4.0.7
Node v20
Please provide a solution.
Regards,
Mohanraj
Beta Was this translation helpful? Give feedback.
All reactions