Skip to content

Ready to use Blazor Templates in different styles and layout with all the basic setup already done for MudBlazor.

License

Notifications You must be signed in to change notification settings

MudBlazor/Templates

Repository files navigation

MudBlazor

Blazor Template pre-configured with MudBlazor.

GitHub Discord Twitter Nuget version Nuget downloads

We're excited to announce the availability of a new template for .NET 8 Web Apps: the MudBlazor Web App template. This template is based on the Microsoft Web App template, but has been modified to include MudBlazor components.

Prerequisites

  • .NET 8 SDK
  • Visual Studio 2022, JetBrains Rider or Visual Studio Code

Getting Started

Installation

dotnet new install MudBlazor.Templates

Usage

Interactive per Page

dotnet new mudblazor --interactivity (Auto|Server|WebAssembly)

Interactive Global

dotnet new mudblazor --interactivity (Auto|Server|WebAssembly) --all-interactive

Adding Authentication

dotnet new mudblazor --interactivity Auto --auth Individual
dotnet new mudblazor --interactivity Auto --auth Individual --all-interactive

Visual Studio Templates

The templates can also be used in Visual Studio and should show up in the list when creating a new project.

Contributing

Installing directly from Source Code

If you want to test changes to the templates source code that hasn't been published yet clone the source code and execute the InstallAndBuildAllTemplates.ps1 powershell script

git clone https://github.com/MudBlazor/Templates.git

If you get an error about the script not being digitally signed use this command to change the security policy for this shell session:

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass