News for hackers. Stuff that matters.
Re:Nue: A React/Vue/Vite/Astro Alternative by caesil on Friday September 15, 2023 @01:06AM (#37518679)
>Nue CSS

>Bring back the power of cascaded styling

Welp, I'm out.

Re:Nue: A React/Vue/Vite/Astro Alternative by tipiirai on Friday September 15, 2023 @01:17AM (#37518757)
Yes. Nue is probably not a good pick for people who really like things like React and Tailwind. It's more like going backwards in time when standard HTML, CSS, and vanilla JavaScript was a thing.
Re:Nue: A React/Vue/Vite/Astro Alternative by timeon on Friday September 15, 2023 @02:45AM (#37519374)
Tailwind is maybe good for people that do not want to learn CSS but creates bloat for user to download.
Re:Nue: A React/Vue/Vite/Astro Alternative by tonyoconnell on Friday September 15, 2023 @03:53AM (#37519894)
You can use DaisyUI to clean things up
Re:Nue: A React/Vue/Vite/Astro Alternative by sensanaty on Friday September 15, 2023 @04:17AM (#37520031)
How exactly do you use Tailwind without knowing how to use regular CSS first? Pretty much everyone I known uses Tailwind BECAUSE dealing with CSS is a fucking nightmare, even in component-based frameworks.
Re:Nue: A React/Vue/Vite/Astro Alternative by progx on Friday September 15, 2023 @04:42AM (#37520172)
I know CSS and have to look always into the Tailwind documentation to find the corresponding settings. As long as you use tailwind 0815 settings everything is ok, but not easier as css (if you know css).
Re:Nue: A React/Vue/Vite/Astro Alternative by ceesharp on Friday September 15, 2023 @04:50AM (#37520231)
You do know that unused styles get removed and Tailwind gets converted to plain CSS?
Re:Nue: A React/Vue/Vite/Astro Alternative by PennRobotics on Friday September 15, 2023 @02:48AM (#37519389)
Welp, I'm in!
Re:Nue: A React/Vue/Vite/Astro Alternative by progx on Friday September 15, 2023 @04:46AM (#37520202)
The problem in the past with css was the inconsistent browser implementation, this should be solved since some years.

And now we have native nesting, wich was in old times a reason for use things like sass/scss/... CSS-Variables too, so theming is not a pain in the a.. anymore.

You can use overbloated frameworks, but i did not see a reason anymore for that. Especially when you develop component based. Tailwind on a top level is ok, but not within a component and child items, unnecessary complicated.