tailwind_cc Tailwind Templates

Tailwind_cc

My first tailwind cc

First Tailwind Project

Tailwind Officeial Website

How to install

  1. First initialize npm project
npm init -y
  1. Install tailwindcss

    npm i tailwindcss --save
    
  2. Then create style.css file inside the src folder and crate another style.css file inside the dist folder.

  3. Now import following code into your src/style.css file: ```txt @tailwind base;

@tailwind components;

@tailwind utilities;


5) Inside the package.json add this command under script
```json
{
    "scripts": {
        "build:css": "tailwind build src/style.css -o dist/style.css"
    }
}
  1. Now whenever you run npm run build:css it will compile the tailwind css.

Top categories

Loading Svelte Themes