DEV Community 👩‍💻👨‍💻

Anaturuchi
Anaturuchi

Posted on

Answer: React Native - Tailwind CSS autocomplete in VSCode for twrnc package

 - //Use TailwindCss in ReactNative
  - Install twrnc: npm install twrnc
  - import tw from "twrnc";
  - Be sure to install the TailWind CSS Intellisense extension in VS code 
  - Go to the extension settings and
  add 'style' in Class Attributes 
  - Go to your project root folder and
  manually

Top comments (0)

🌚 Life is too short to browse without dark mode