0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【備忘録】"Unknown at rule @tailwind"を解消する(Tailwind CSS)

Last updated at Posted at 2024-05-24

警告 / Warning

Tailwind CSSを導入すると「Unknown at rule @tailwind」という警告を受ける場合があります。
スクリーンショット 2024-05-25 0.46.01.png

解消法

この警告はあくまでエディタ(VSCodeなど)が「@tailwind」を正しく認識できていないだけなので、解消しなくてもTailwind CSSは問題なく使用できます。

解消するには、エディタに「PostCSS Language Support」という拡張機能を導入しましょう。

結果

警告は解消されました。
スクリーンショット 2024-05-25 0.46.19.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?