Giter Club home page Giter Club logo

blazor-tailwind's Introduction

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

blazor-tailwind's People

Contributors

andrewrjohn avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.