tailwind
tailwind copied to clipboard
refactor: should use @use instead of import
import is deprecated
Where is written that @import
is deprecated?
https://tailwindcss.com/docs/installation#include-tailwind-in-your-css
If you’re using postcss-import (or a tool that uses it under the hood, such as Webpacker for Rails), use our imports instead of the @tailwind directive to avoid issues when importing any of your own additional files
it is a sass thing. https://sass-lang.com/documentation/at-rules/import
Shouldn't it be the @tailwind
at-rule to keep it as close to the library as possible?