Re:Play with TailwindCSS in the Browser
by jonfleck on Friday June 10, 2022 @05:36PM
(#31699615)
I wrote a “function” for this exact reason. It’ll display the classes in a much easier to read way. It also can type check to ensure that all classes are valid. I say function in quotes because it’s actually a babel macro that’s get compiled down so there’s no runtime cost! https://github.com/fleck/class-types.macro#better-prettier-f...
[ Parent
| on HN ]
There are no comments on this comment yet.