Blazor.Tailwind.Templates
0.2.4
dotnet new install Blazor.Tailwind.Templates@0.2.4
Blazor.Tailwind.Templates
Getting Started
Installation
dotnet new install Blazor.Tailwind.Templates
Usage
You can specify different interactivity options using the --interactivity option. The available options are none, server, auto, and wasm.
Interactivity: none
dotnet new blazortailwind --interactivity none -o MyApplication
Interactivity: server
dotnet new blazortailwind --interactivity server -o MyApplication
Interactivity: auto
dotnet new blazortailwind --interactivity auto -o MyApplication
Important Note for Auto Interactivity: Since Tailwind is compiled on the server project, components in different projects like the client won't generate the needed CSS output. As a workaround, include all the styles in the
BuildCss.razorcomponent so they are compiled and available for the client components. Another option would be to create a centralized components project where Tailwind can build the CSS.
Interactivity: wasm
dotnet new blazortailwind --interactivity wasm -o MyApplication
Usage with Framework
To specify the framework, use the --framework option. You can use net9.0, net10.0, or both net8.0;net9.0 (Note that this is only applicable if the interactivity is wasm for now).
dotnet new blazortailwind --interactivity wasm --framework net9.0 -o MyApplication
dotnet new blazortailwind --interactivity wasm --framework net10.0 -o MyApplication
dotnet new blazortailwind --interactivity wasm --framework "net9.0;net10.0" -o MyApplication
Sample site with theme
-
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.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.2.4 | 549 | 11/12/2025 |
| 0.2.3 | 367 | 11/9/2025 |
| 0.2.2 | 560 | 4/2/2025 |
| 0.2.1 | 506 | 3/19/2025 |
| 0.2.0 | 458 | 2/8/2025 |
| 0.1.1 | 461 | 12/27/2024 |
| 0.1.0 | 443 | 12/24/2024 |
| 0.0.9 | 439 | 12/20/2024 |
| 0.0.8 | 489 | 12/20/2024 |
| 0.0.7 | 476 | 12/20/2024 |
| 0.0.6 | 475 | 12/20/2024 |
| 0.0.5 | 476 | 12/19/2024 |
| 0.0.4 | 495 | 12/18/2024 |
| 0.0.3 | 468 | 12/18/2024 |