3 ms·
On the other if you have used something like Svelte or Vue, then there would not be need for "inline CSS".
by timeon 3y ago
On the other if you have used something like Svelte or Vue, then there would not be need for "inline CSS".
- steveklabnik 3y agoI would be interested in hearing more. In my understanding, these tools aren’t inherently contradictory, though I do see some folks agreeing with you.
- dcre 3y agoI think they mean that because Svelte lets you put a style tag in a component and the styles are automatically scoped to that component, you don’t need Tailwind. https://svelte.dev/examples/styling https://svelte.dev/examples/styling I’d say that goes halfway toward solving the problem Tailwind solves and could well be enough for most people. It’s nice not to go to a different file, and it’s nice to get scoping. But you still have to come up with class names, and you still have to mentally match up what classes go where.