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?

TailwindCSS IntelliSenseで補完されない場合の対処法

Last updated at Posted at 2025-04-08

対象:VSCのTailwindCSS IntelliSenseで補間されなくて困っている方

最近、tailwindcssがver4.0が公開されました。

それに伴って、色々な機能が追加されたのですが、前々からあるVSCの拡張機能の

「TailwindCSS IntelliSense」が使えなくなってしまいました。

しかし、簡単に復活させることができるので、その方法について記述していきます。

その方法はすごく簡単で、

プロジェクトフォルダにtailwind.config.jsを作るだけです。

中身は空でも問題ありません。

追加後、適当に

の""の中に入力してみてください。

すると、補完されるようになると思います。

まとめ

tailwindCSSのver4.0にしてvscの拡張機能のTailwindCSSが使えなくて困っている方は

プロジェクトファイルにtailwind.config.jsを作りましょう!

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?