TailwindBuild 1.2.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TailwindBuild --version 1.2.0
NuGet\Install-Package TailwindBuild -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TailwindBuild" Version="1.2.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TailwindBuild" Version="1.2.0" />
<PackageReference Include="TailwindBuild"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TailwindBuild --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TailwindBuild, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package TailwindBuild@1.2.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TailwindBuild&version=1.2.0
#tool nuget:?package=TailwindBuild&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TailwindBuild
TailwindBuild is designed to integrate with MSBuild to allow for the usage of Tailwind within projects without needing to use npm.
Getting Started
dontet add package TailwindBuild
Update the properties to use your tailwind config:
<PropertyGroup Label="Tailwind Properties">
<TailwindInputFile>$(MSBuildProjectDirectory)\src\tailwind.css</TailwindInputFile>
<TailwindOutputFile>$(MSBuildProjectDirectory)\wwwroot\css\output.css</TailwindOutputFile>
</PropertyGroup>
Properties
| MSBuild Property Name | Default Value | Description |
|---|---|---|
| TailwindVersion | latest |
The version tag of the tailwind release to use. |
| TailwindInstallPath | $(MSBuildThisFileDirectory)..\cli\ |
The directory where the tailwindcss cli should be located. |
| TailwindWorkingDir | $(MSBuildProjectDirectory)\ |
The directory which will be used as the working dir for tailwind. |
| TailwindInputFile | tailwind.css |
The name of the input css file. |
| TailwindOutputFile | $(MSBuildProjectDirectory)\wwwroot\css\output.css |
The path where the output css file will be located. |
| TailwindMinify | false for Debug builds, true for Release builds |
Whether the generated css should be minified or not. |
| TailwindWatch | false (Will only work during a dotnet watch build) |
Watch for changes. |
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.