Tailwind 0.8.0

dotnet tool install --global Tailwind --version 0.8.0                
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.8.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Tailwind&version=0.8.0                
nuke :add-package Tailwind --version 0.8.0                

dotnet-tailwind

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.

Installation

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

Support

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

Sponsors

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 1,137 4/4/2024
0.8.0-alpha.3 92 3/22/2024
0.8.0-alpha.2 56 3/22/2024
0.8.0-alpha.1 52 3/22/2024
0.7.0-alpha 111 1/25/2024
0.6.1 1,149 9/20/2023
0.6.0 149 9/20/2023
0.5.1 168 9/12/2023
0.5.0 143 9/12/2023
0.4.0 144 9/11/2023
0.2.0 116 9/11/2023
0.1.0 133 9/11/2023

Added remove command, changed init pattern, mac ARM