Blazor Templates pre configured with MudBlazor.
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.