3 ms·
Why do you need to use Tailwind if the code is generated? Can't there be something more efficient?
by timeon 10mo ago
Why do you need to use Tailwind if the code is generated?
Can't there be something more efficient?
- Deegy 10mo agoExtensive tailwind training data in the models. Sure there's something more efficient but it's just safer to let the model leverage what it was trained on.
- camdenreslink 10mo agoSurely there is an order of magnitude more training data on plain CSS than tailwind, right?
- frikk 10mo agoIn my experience the LLMs work better with frameworks that have more rigid guidance. Something like Tailwind has a body of examples that work together, language to reason about the behavior needed, higher levels of abstraction (potentially), etc. This seems to be helpful. The LLMs can certainly use raw CSS and it works well, the challenge is when you need consistent framing across many pages with mounting special cases, and the LLMs may make extrapolate small inconsistencies further. If you stick within a rigid framework, the inconsistencies should be less across a larger project (in theory, at least).