tailwindcss
Tailwind CSS allows you to rapidly build modern websites without ever leaving your HTML.
Usage
npx sv add tailwindcssWhat you get
- Tailwind setup following the Tailwind for SvelteKit guide
- Tailwind Vite plugin
- updated
app.cssand+layout.svelte(for SvelteKit) orApp.svelte(for non-SvelteKit Vite apps) - integration with
prettierif using that package
Options
plugins
Which plugin to use:
typography—@tailwindcss/typographyforms—@tailwindcss/forms
npx sv add tailwindcss="plugins:typography"Edit this page on GitHub llms.txt
previous next