Support Angular Scss with Tailwind 4 #18364
Replies: 6 comments 5 replies
-
Thank you for the suggestion. I've converted your issue to an Ideas discussion post as that's where we put feature requests 👍 |
Beta Was this translation helpful? Give feedback.
-
Starting from TailwindCSS v4, preprocessors are no longer officially supported - it aims to function as its own preprocessor, with LightningCSS working under the hood to make this possible. You can use TailwindCSS and SCSS in parallel, but not together. For example:
Related:
But the official recommendation is to drop it entirely, and its compatibility issues will not be given priority in the future: Deprecated: preprocessors support
Simply put, TailwindCSS v4 removes the need for Sass and other preprocessors. The TailwindCSS v4 ecosystem can independently provide the functionality that these preprocessors offered.
|
Beta Was this translation helpful? Give feedback.
-
Tailwind without SCSS support is impractical for Angular projects, as most rely heavily on SCSS. Switching to plain CSS isn't a viable option, leaving us stuck on Tailwind 3. |
Beta Was this translation helpful? Give feedback.
-
Please fix |
Beta Was this translation helpful? Give feedback.
-
Can't tailwind be used along with scss? In my case all of the existing styles (even material styles) are getting removed from the build when adding {
"plugins": {
"@tailwindcss/postcss": {}
}
} to |
Beta Was this translation helpful? Give feedback.
-
TailwindCSS v3 was great but V4 is a step back |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Support Angular Scss with Tailwind 4
Beta Was this translation helpful? Give feedback.
All reactions