An open API service indexing awesome lists of open source software.

https://github.com/manusoft/blazor-tailwind-v4


https://github.com/manusoft/blazor-tailwind-v4

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Tailwind CSS v4 + Blazor

### Install Tailwind CSS
1. Install ```tailwindcss``` and ```@tailwindcss/cli``` via ```npm```.

```shell
npm install tailwindcss @tailwindcss/cli
```

### Import Tailwind in your CSS
2. Create a ```input.css``` file inside a ```Style``` folder of your project.

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

### Start the Tailwind CLI build process
3. Run the CLI tool to scan your source files for classes and build your CSS.

```shell
npx @tailwindcss/cli -i ./styles/input.css -o ./wwwroot/tailwind.css --watch
```

### Start using Tailwind in your HTML
4. Add your compiled CSS file to the and start using Tailwind’s utility classes to style your content.

```html








Hello world!


```