Blog
Install Tailwindcss in Svelte with 1 command
Stop using the 5 step method and remember the npx command to install tailwind.

Here is how to install Tailwindcss in Svelte
Yep thats it you donβt need anything else :D
Okay so what does this actually do?
Update ./package.json
Includes the required development packages.
Add ./tailwind.config.json
Adds the correct configuration for Tailwind, which adds all of the necessary content file types.
Update ./svelte.config.js
Updates to add the preprocess requirement.
Add ./postcss.config.cjs
Add ./src/app.postcss
Includes the global files