Tailwind 0.7.0-alpha

This is a prerelease version of Tailwind.
There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Tailwind --version 0.7.0-alpha
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local Tailwind --version 0.7.0-alpha
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Tailwind&version=0.7.0-alpha&prerelease
nuke :add-package Tailwind --version 0.7.0-alpha


Really basic tool to bootstrap Tailwind in .NET Blazor projects.

Run dotnet tailwind init to automatically create the necessary build targets and files for a basic Tailwind integration.


cd <repository root directory>
dotnet new tool-manifest
dotnet tool install tailwind

Initializing Tailwind

cd .\path\to\project
dotnet tailwind init

Add to your App.razor in the <head>:

<link rel="stylesheet" href="css/site.css" />

Anytime you build the solution, wwwroot/css/site.css will now be regenerated.

Updating Tailwind

dotnet tailwind update


We support the below versions. The tool may work with versions outside this range, but we're not actively testing them. Your mileage may vary.

.NET 6 .NET 7 .NET 8 .NET 9


Sponsored by PureBlazor

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.8.0 108 4/4/2024
0.8.0-alpha.3 58 3/22/2024
0.8.0-alpha.2 42 3/22/2024
0.8.0-alpha.1 43 3/22/2024
0.7.0-alpha 80 1/25/2024
0.6.1 964 9/20/2023
0.6.0 105 9/20/2023
0.5.1 126 9/12/2023
0.5.0 101 9/12/2023
0.4.0 104 9/11/2023
0.2.0 87 9/11/2023
0.1.0 92 9/11/2023

Added remove command, changed init pattern