Tailwind 0.6.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global Tailwind --version 0.6.1
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.6.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Tailwind&version=0.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Tailwind --version 0.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
Install
dotnet tool install --global tailwind
How to use
- In the directory with your
.csproj
:
dotnet tailwind init
Build your project. Tailwind will automatically generate
site.css
inwwwroot/css
Add the
site.css
to yourApp.razor
<link rel="stylesheet" href="css/site.css" />
- Anytime you build the solution,
site.css
will now be regenerated.
Commands
init
- Downloads the Tailwind CLI
- Add targets and properties to your tailwind file to automatically build your CSS using the TailwindCLI
- Adds the
app.css
with the Tailwind directives
reset
- Removes property groups added by the tool
- Removes targets added by the tool
- Only works on 0.6.0 and later
Update the tool
Uninstall the tool and then reinstall.
dotnet tool uninstall --global tailwind
dotnet tool install --global tailwind
Release Notes
0.6.1
- Updated installation instructions
0.6.0
- BREAKING: Renamed Targets
- BREAKING: Labeled Property Groups
- Added
chmod
command for Linux - Added
reset
command to clear changes made in the project file
Product | Versions 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 was computed. 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,139 | 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 |
Updated readme for simplified instructions