/Templates

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

Primary LanguageHTMLMIT LicenseMIT

MudBlazor

Blazor Templates pre configured with MudBlazor.

GitHub Discord Twitter Nuget version Nuget downloads

Prerequisites

  • .NET 6
  • Visual Studio 2022, JetBrains Rider or VsCode

Getting Started

Installation

dotnet new --install MudBlazor.Templates

Usage

dotnet new mudblazor --host wasm --name MyApplication

Template Options

Specific template options:

Options Description Type Default
-ho | --host Project Type wasm | wasm-hosted
wasm-pwa | wasm-pwa-hosted
server
wasm
-t | --template MudBlazor Template Variant default | admindashboard default
-s | --skipRestore Skips the automatic restore of the project on create. bool false

For none MudBlazor specific options run:

dotnet new -h

Visual Studio Templates

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

Template - Default Blazor

DefaultBlazorTemplate

Template - Admin Dashboard

AdminDashboardTemplate