Created
June 10, 2022 14:35
-
-
Save navin-moorthy/c22666c5952566b0d51c39ce54b12e0f to your computer and use it in GitHub Desktop.
Tailwind Intellisense for twrnc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Add the below code to vscode user settings.json | |
"tailwindCSS.experimental.classRegex": [ | |
["tailwind.style\\(([^)]*)\\)", "\"([^\"]*)\""], | |
["tailwind.getColor\\(([^)]*)\\)", "\"([^\"]*)\""], | |
], | |
"tailwindCSS.experimental.configFile": "your/path/to/tailwind.config.js", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don’t have to provide that line if it’s in the root, it’s referred by default.