You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Hello, I am trying to set up Headwind for use in Javascript files.
I have getters where I use a switch-case to choose the classNames for a component in Ember.
Headwind works in templates but I can't seem to get it to work in Javascript.
This is my code:
getbuttonClass(){constclassNames="border-0 rounded-sm min-w-24 min-h-8";// Want this to be headwindedswitch(this.variant){case"primary":
return`${classNames} button-primary`;default:
return"";}}
I tried setting this regex but it might be wrong :)
Is your feature request related to a problem? Please describe.
Hello, I am trying to set up Headwind for use in Javascript files.
I have getters where I use a switch-case to choose the classNames for a component in Ember.
Headwind works in templates but I can't seem to get it to work in Javascript.
This is my code:
I tried setting this regex but it might be wrong :)
The text was updated successfully, but these errors were encountered: