MudBlazor / Templates

Ready to use Blazor Templates in different styles and layout with all the basic setup already done for MudBlazor.
MIT License
680 stars 144 forks source link
blazor blazor-client blazor-components blazor-server blazor-webassembly component component-library hacktoberfest material netcore template templates wasm webassembly

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

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