Replies: 3 comments 2 replies
-
Hey! Thank you for your question! I'm confused what you mean exactly. Can you elaborate on what you want specifically? If you are talking about usage with tailwindcss, then that should also already work, since code completion for tailwind works in |
Beta Was this translation helpful? Give feedback.
-
Some "official" recommended way of supporting this would indeed be nice. My solution is to do this in {
"tailwindCSS.experimental.classRegex": [
"/\\* tw \\*/ '([^']*)",
"/\\* tw \\*/ `([^`]*)",
"/\\* tw \\*/ \"([^\"]*)"
]
} and then use syntax like this in the JSX: <Transition.Child
enter={/* tw */ 'ease-out duration-300'}
enterFrom={/* tw */ 'opacity-0'}
enterTo={/* tw */ 'opacity-100'}
> |
Beta Was this translation helpful? Give feedback.
-
Create a file in your project {
"tailwindCSS.classAttributes": [
"class",
"className",
"ngClass",
"enter",
"enterFrom",
"enterTo",
"leave",
"leaveFrom",
"leaveTo",
]
} |
Beta Was this translation helpful? Give feedback.
-
Headless UI should include an IntelliSense configuration for VSCode by default.
Beta Was this translation helpful? Give feedback.
All reactions