Been toying with it the past few days, it's brilliantly put together and it really feels like the natural evolutionary step from React/Vue/Angular. And such a small footprint!
Svelte/Sapper + TailwindCSS + GraphQL, we're getting pretty close to Dev Nirvana here! 😎✨
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
Follow-up to my previous comment about Svelte + Tailwind: If you're looking to use Tailwind with Sapper, this template works really well.
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
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.
To complement the other question about Tailwind:
What are you using to integrate GraphQL, how well does it integrate (I guess Apollo-Client?)?
I haven't tested GraphQL on Svelte yet, but yes, I would use Apollo. There is a 'svelte-apollo' package on npm that seems to be quite functional, the README has a few examples, including a Sapper/SSR one.
Having previously used Apollo in a NextJS project, I know how tricky it can be to integrate Apollo with an SSR framework and I don't really expect any different with Svelte. Hopefully I can find the time to play around with it soon! ;)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.