DEV Community

loading...

Discussion on: Svelte is the most beautiful web framework I've ever seen

Collapse
opensas profile image
opensas

what do you use to integrate svelte with Tailwind? I see there are a couple of templates but I'd like to know one that works flawlessly

Collapse
jaxxeh profile image
Jaxxeh

Follow-up to my previous comment about Svelte + Tailwind: If you're looking to use Tailwind with Sapper, this template works really well.

Collapse
mattwaler profile image
Matt Waler

If you're using vanilla Svelte with Rollup, it's as easy as installing the PostCSS plugin for rollup and setting extract = true! I have a repo here: github.com/mattwaler/svelte-starter

Collapse
jaxxeh profile image
Jaxxeh

I came across this interesting article a few days ago, and it worked as intended after I went through all the steps.

The author of the article put together a template here if you don't want to go through the hassle of manually replicating the steps from the article, though I haven't tried it myself.