How to make tailwind intellisense work inside variants object. #269
Unanswered
lorcan-codes
asked this question in
Q&A
Replies: 1 comment
-
Maybe it's not the best solution, but so far it works for me. "tailwindCSS.experimental.classRegex": [
["cva\\(([\\s\\S]*?)\\)(;|\\n)", "[\"'`]([^\"'`]*).*?[\"'`]"],
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thank you for creating this library.
I followed this instruction to make tailwind intelissense work with cva.
While it is working for cva simple inputs such as cva("tailwind classes here") and cva(["tailwind", "classes, "here"]). The intellisense is not working inside variants. For example I don't get any intellisense inside
variant.h1
below.Is there any way to make intellisense work inside variants configuration?
Beta Was this translation helpful? Give feedback.
All reactions