Skip to content

Commit

Permalink
Improve TailwindCSS integration docs (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohits-web03 authored Jan 27, 2025
1 parent 941c0d3 commit b60ba23
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/building-your-application/integrations/tailwind-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,27 @@ Tailwind lets you use utility classes instead of writing CSS. These utility clas

## Installation

Run this command to integrate TailwindCSS in your Brisa project:
Follow these steps to set up **TailwindCSS** in your Brisa project:

### 1. Install TailwindCSS

Run the following command to add TailwindCSS to your project:

```sh
bunx brisa add tailwindcss
```

And you are ready to use TailwindCSS in your Brisa project.
### 2. Import TailwindCSS

After the installation, import TailwindCSS in your main CSS file:

```css
@import "tailwindcss";
```

Then, import this CSS file in `src/layout/index.tsx`.

And that's it! You're all set to use **TailwindCSS** in your Brisa project.

## Manual Installation

Expand Down

0 comments on commit b60ba23

Please sign in to comment.