This repository contains an ASP.NET MVC template integrated with TailwindCSS for fast project scaffolding. It can be installed locally or published as a NuGet package.
- Pre-configured ASP.NET MVC structure
- TailwindCSS ready-to-use for styling
- Sample HomeController and views
- Supports
dotnet newinstallation as a template - Includes license and README for NuGet
- .NET 8 SDK
- Node.js and npm
Optional:
- Visual Studio 2022 / VS Code
- Git
# Install from local nupkg
dotnet new install ./Lazt.MvcTailwind.Template.1.0.0.nupkg
# Verify installation
dotnet new listdotnet new mvclazt -n MyApp
cd MyApp
npm install
npm run css:build
dotnet runNavigate to https://localhost:5001 to see the app running, port may vary.
You can fork this repo and update the template or Tailwind setup as needed. Make sure to update the version in .csproj when publishing a new NuGet package.
MIT License. See LICENSE.txt for details.