LoginSignup
4
4

More than 3 years have passed since last update.

【VSCode】Vue/NuxtでtailwindCSSの自動補完を有効にする

Posted at

少しだけ詰まったのでメモ

Vue/NuxtでTailwindCSSの補完を有効にするには
Tailwind CSS IntelliSense というプラグインをインストールします。

https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss
image.png


次にVSCodeのsettings.jsonを編集します。

image.png


以下の行を追加してください

settings.json
  "tailwindCSS.includeLanguages": {
    "plaintext": "vue"
  },
  "tailwindCSS.emmetCompletions": true





補完が効くようになると思います!

tailwind.gif

4
4
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
4
4