dotnet / dotnet/aspnetcore

Add Tailwind CSS 4.x.x Support to .NET 10 & ASP.NET CORE 10

Open
#60,351 4 comments 5 reactions 0 assignees View on GitHub
area-ui-rendering
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

# Add default template of Tailwind CSS something same support like jQuery & Bootstrap in current ASP .NET Core

Details:
Add Tailwind CSS 4.x.x Support to .NET 10 & ASP.NET CORE 10
Tailwind CSS 4.x.x Release Blog : ```https://tailwindcss.com/blog/tailwindcss-v4```
Tailwind CSS 4.x.x Homepage : ```https://tailwindcss.com/```

Here Tailwind CSS made installation and configuration very easy.

### For v4.0, Tailwind feels more light-weight than ever:
1. Just one-line of CSS — no more ```@tailwind``` directives, just add ```@import``` "tailwindcss" and start building.
2. Zero configuration — We can start using the framework without configuring anything, not even the paths to template files.
3. No external plugins required — They bundle ```@import``` rules for you out of the box, and use ```[Lightning CSS](https://lightningcss.dev/)``` under the hood for vendor prefixing and modern syntax transforms.

### Describe the solution you'd like

# Following are the steps to setup tailwind in project using CLI, so the ASP.NET Core team should develop some kind of inbuilt first party functionality to add this setup by default into the project template.

![Image](https://github.com/user-attachments/assets/b6898019-a5b6-4fa2-acaf-a7b7e824ed0e)

### Additional context

# Add default template of Tailwind CSS something same support like jQuery & Bootstrap in current ASP .NET Core

Details:
```Add Tailwind CSS 4.x.x Support to .NET 10 & ASP.NET CORE 10```
```Tailwind CSS 4.x.x Release Blog : https://tailwindcss.com/blog/tailwindcss-v4```
```Tailwind CSS 4.x.x Homepage : https://tailwindcss.com/```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.