svelte

Add Tailwind CSS In Svelte Kit Project


In this article, you will learn How To Add Tailwind CSS in your Svelte Kit Project.

Create Svelte Kit Project

npm init svelte@next example

Above command will create a Svelte Kit Project.

cd example/
npx svelte-add tailwindcss --jit

Above command will add Tailwind CSS to your project.

And the last step is to install the packages

npm install


Share on social media

//