Setup tailwindcss on Sveltekit automatically
⚠️ Run this library when you first initialize your sveltekit project: Be very careful here!
This library will overwrite the following files:
- svelte.config.js
- tailwind.config.cjs
- app.css
- __layout.svelte
- Initialize sveltekit project (npm init svelte)
- Then run
npx sveltekit-tailwindcss-setup
This library is implementing these steps all at once https://tailwindcss.com/docs/guides/sveltekit