Answers for "How to get tailwindcss intellisense to work with react files"

0

How to get tailwindcss intellisense to work with react files

//in your settings.json add the following below:
{
  // other settings
  "tailwindCSS.includeLanguages": {
    "javascript": "javascript",
    "html": "HTML"
  },
  "editor.quickSuggestions": {
    "strings": true
  }
}

// if it doesnot work after the above is added to settings.json
// delete the "tailwind.config.js" file and create it back by running the below on your terminal
npx tailwindcss init
Posted by: Guest on April-24-2022
0

How to get tailwindcss intellisense to work with react files

//in your settings.json add the following below:
{
  // other settings
  "tailwindCSS.includeLanguages": {
    "javascript": "javascript",
    "html": "HTML"
  },
  "editor.quickSuggestions": {
    "strings": true
  }
}

// if it doesnot work after the above is added to settings.json
// delete the "tailwind.config.js" file and create it back by running the below on your terminal
npx tailwindcss init
Posted by: Guest on May-09-2022

Code answers related to "How to get tailwindcss intellisense to work with react files"

Browse Popular Code Answers by Language