News for hackers. Stuff that matters.
Re:Building React and Vue Support for Tailwind UI by ahuth on Monday April 12, 2021 @06:36PM (#26786050)
You don't need to remember all the classes. Instead, you can go to https://tailwindcss.com/docs and search for whatever you're looking for.

Having IDE autocompletion (or even TypeScript integration) would be really nice. I'm sure there's plugins for many IDEs or editors that can do that, though.

Re:Building React and Vue Support for Tailwind UI by nailer on Monday April 12, 2021 @07:33PM (#26786458)
As a tailwind user, looking them up every time, especially when you a already know the CSS, isn’t that great an experience either.
Re:Building React and Vue Support for Tailwind UI by welder on Monday April 12, 2021 @06:49PM (#26786150)
> Having IDE autocompletion would be really nice. I'm sure there's plugins that can do that.

Use withStyles [1] and vscode autocompletes without needing a plugin.

[1] https://github.com/airbnb/react-with-styles

Re:Building React and Vue Support for Tailwind UI by lights0123 on Monday April 12, 2021 @06:53PM (#26786181)
VS Code and IntelliJ plugins provide just that, and the VS Code plugin goes further by showing the CSS it will expand to and show a color preview next to the class name.
Re:Building React and Vue Support for Tailwind UI by jamesiscool on Tuesday April 13, 2021 @07:46AM (#26790919)
So does the IntelliJ one, with a hover I think