DEV Community

Discussion on: A simpler way to add TailwindCSS to your Svelte project

Collapse
 
rafaelbeckel profile image
Rafael Beckel • Edited

I'm currently experimenting with Tailwind and still getting my head around the ugly but useful convention of placing lots of modifiers in the markup directly. Quick question: if Svelte automatically scopes our CSS for each component, what would be the advantage of using Tailwind at all? Wouldn't it be cleaner to have the styles inside Svelte's tag instead?</p>