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.
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
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.