Re:Building React and Vue Support for Tailwind UI
by welder on Monday April 12, 2021 @07:01PM
(#26786240)
You get type checking automatically using withStyles, no plugin needed. That plugin is kinda cool with the css preview feature, but I bet using the built-in IDE autocomplete is more reliable. I also find withStyles more readable in general, for ex:
theme: {
}<Button {...css(theme.button.primary)}>
vs. tailwind classes:
<Button className="text-blue p-2">