Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series




yours forever

Become a Pro and unlock everything




per month

Tailwinds With PostCSS

Here we will show you how to add Tailwinds via the Tailwinds JIT and the PostCSS plugin.


Become a pro to download code and videos



5 months ago [edited]

Can't delete comments

User avatar


5 months ago

official install guide from tailwind: https://tailwindcss.com/docs/guides/sveltekit

User avatar


8 months ago

Tailwind 3.0 renamed the purge config option to content. Put the purge options in content array now.


12 months ago

There is an interesting command to install and setup Tailwind JIT quickly: npx svelte-add tailwindcss --jit

With this command, autoprefixer runs after tailwindcss, which is the good order if I'm correct.

User avatar


about 1 year ago

Running npx tailwind init gave the wrong file extension for me which threw a ERR_REQUIRE_ESM error. If you use this make sure you rename the file to tailwind.config.cjs

Want to join the conversation?

Become a Pro member today!