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

mahald/Templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MudBlazor

Blazor Template 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
-s | --skipRestore Skips the automatic restore of the project on create. bool false

For none MudBlazor specific options run:

dotnet new -h

New Web App Template for .NET 8

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.

To get started with this template, please ensure that you have the following installed:

  1. The latest .NET 8 SDK
  2. The latest Visual Studio 2022 Preview (to view the template in the list of available templates)
  3. The most recent version of MudBlazor.Templates from NuGet (to access the template)

How to Use the New .NET 8 Web App Template

Interactive per Page

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

Interactive Global

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

Adding Authentication

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

To Do for the .NET 8 Template

  • Integrate MudBlazor components into the authentication system (currently using Bootstrap components from the original template)

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

Default Blazor - Template

DefaultBlazorTemplate

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 59.4%
  • C# 37.2%
  • CSS 1.4%
  • JavaScript 1.2%
  • Batchfile 0.8%