Blazor.TailwindCSS.BUnit 1.0.3

dotnet new install Blazor.TailwindCSS.BUnit::1.0.3
This package contains a .NET Template Package you can call from the shell/command line.

Nuget Nuget

Blazor + Tailwind

A match made in heaven, maybe. BUnit included.

Getting Started

The easiest way to start using this is to install the dotnet template:

dotnet new -i Blazor.TailwindCSS.BUnit

Then you can bootstrap a new app using the installed template:

dotnet new blazortailwind -o my-app --name MyApp

There you have it! You now have a brand-new Blazor server app that's using TailwindCSS and BUnit 🎉

Running the App

Go to the project directory:

  cd my-app

Install dependencies:

  dotnet restore
  cd MyApp
  yarn # or you can use 'npm install'

Start the server:

  dotnet watch run --project MyApp

View app at https://localhost:5001 🎉

Running Tests

To run tests, run the following command from the solution root directory:

  dotnet test MyApp.Tests

or to run from the test project directory:

  cd MyApp.Tests
  dotnet test

Included are two test examples: CounterTest.razor and CounterTest.cs. Both accomplish the same thing, but do it in a slightly different manner. Read more about the differences here.

Documentation

  • .NETCoreApp 3.1

    • 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
1.0.3 604 9/28/2021
1.0.2 326 9/21/2021
1.0.1 387 9/21/2021
1.0.0 429 9/21/2021