Skip to content

Commit 1c9ea1b

Browse files
Add note about preprocessors to the upgrade guide (#2256)
Closes tailwindlabs/tailwindcss#18058
1 parent f599070 commit 1c9ea1b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/docs/upgrade-guide.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,3 +824,9 @@ Alternatively, you can use your CSS theme variables directly instead of using `@
824824
```
825825

826826
You can find more documentation on [using Tailwind with CSS modules](/docs/compatibility#css-modules).
827+
828+
### Using Sass, Less, and Stylus
829+
830+
Tailwind CSS v4.0 is not designed to be used with CSS preprocessors like Sass, Less, or Stylus. Think of Tailwind CSS itself as your preprocessor — you shouldn't use Tailwind with Sass for the same reason you wouldn't use Sass with Stylus. Because of this it is not possible to use Sass, Less, or Stylus for your stylesheets or `<style>` blocks in Vue, Svelte, Astro, etc.
831+
832+
Learn more in the [compatibility documentation](/docs/compatibility#sass-less-and-stylus).

0 commit comments

Comments
 (0)