lukeed/clsxPublic

A tiny (239B) utility for constructing `className` strings conditionally.

Add documentation on usage with Tailwind CSS

ED

edgarlr opened 路

I've been a user of this library for a long time and took me some time to figure out how to enable Tailwind IntelliSense inside `clsx` functions. I think could be helpful to add documentation on how to enable it to the README.

I'll open a PR

  1. edgarlrreferenced 225789e9f4c43 years ago on GitHub

  2. edgarlrreferenced this in feat: Add usage with Tailwind documentation #653 years ago on GitHub

  3. lukeedclosed3 years ago on GitHub

  4. lukeedreferenced 496db1dd74413 years ago on GitHub

  5. RA

    Tried to look into this due to the new version and it seems to already work without the tailwind specific setup for me? Is this only for some specific ones?

    Tested on https://github.com/flathub/website

  6. DC

    What about with JetBrains (webstorm)?