1.0.2 • Published 2 years ago

sveltekit-tailwindcss-setup v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Setup tailwindcss on Sveltekit automatically

Setup tailwindcss on Sveltekit automatically

Important

:warning: 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

How to use?

  1. Initialize sveltekit project (npm init svelte)
  2. Then run npx sveltekit-tailwindcss-setup

This library is implementing these steps all at once https://tailwindcss.com/docs/guides/sveltekit