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                

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,154 4/4/2024
0.8.0-alpha.3 94 3/22/2024
0.8.0-alpha.2 58 3/22/2024
0.8.0-alpha.1 54 3/22/2024
0.7.0-alpha 113 1/25/2024
0.6.1 1,151 9/20/2023
0.6.0 151 9/20/2023
0.5.1 170 9/12/2023
0.5.0 145 9/12/2023
0.4.0 146 9/11/2023
0.2.0 118 9/11/2023
0.1.0 136 9/11/2023

Added remove command, changed init pattern