/blazor-tailwindcss-template

This template demostrates the integration of tailwindcss with blazor and covers important features like hot-reload and css isolation

Primary LanguageHTMLMIT LicenseMIT

Blazor + Tailwind

This template demostrates the integration of tailwindcss with blazor and covers important features like hot-reload and css isolation

Features

  • css-isolation works with tailwindcss
  • hot-reload considers tailwind compilation
  • <styles> gets compiled and copied over wwwroot without unused styles when release mode
  • change tailwindcss to use JIT compiler
  • only changed files gets re-compiled
  • make true hot-reload work on sytles.css
  • Remove all references to bootstrap
  • convert template to a real dotnet template
  • create nuget package to add tailwindcss support for already created projects
  • improve performance and make compilation faster

Requirements

  • .NET 6 Preview 3
  • Node.js 14+