Skip to content

danawoodman/tailwindcss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💨 Add Tailwind CSS to Svelte

❓ What is this?

This is an experimental command to run to add Tailwind CSS to your SvelteKit project or Vite-powered Svelte app.

🧰 Adding to SvelteKit

You must start with a fresh copy of the official SvelteKit template, which is currently created by running this command:

npm init svelte@next

Once that is set up, run this command in your project directory to set up Tailwind CSS:

npx svelte-add tailwindcss

⚡️ Adding to Vite

You must start with a fresh copy of the official Vite-powered Svelte app template, which is currently created by running this command:

npm init @vitejs/app  # Choose svelte or svelte-ts

Once that is set up, run this command in your project directory to set up Tailwind CSS:

npx svelte-add tailwindcss

🛠 Usage

After the preset runs,

😵 Help! I have a question

Create an issue and I'll try to help.

😡 Fix! There is something that needs improvement

Create an issue or pull request and I'll try to fix.

These are new tools, so there are likely to be problems in this project. Thank you for bringing them to my attention or fixing them for me.

📄 License

MIT


Repository preview image generated with GitHub Social Preview

This README was generated with ❤️ by readme-md-generator

About

A command to add Tailwind CSS to your Svelte project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.8%
  • JavaScript 12.2%