Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mudblazor/templates

Ready to use Blazor Templates in different styles and layout with all the basic setup already done for MudBlazor.
https://github.com/mudblazor/templates

blazor blazor-client blazor-components blazor-server blazor-webassembly component component-library hacktoberfest material netcore template templates wasm webassembly

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# ![MudBlazor](content/MudBlazor-GitHub-NoBg.png)
# Blazor Template pre-configured with MudBlazor.

[![GitHub](https://img.shields.io/github/license/garderoben/mudblazor?color=%23594ae2&style=flat-square)](https://github.com/Garderoben/MudBlazor.Templates/blob/master/LICENSE)
[![Discord](https://img.shields.io/discord/786656789310865418?color=%237289da&label=Discord&logo=discord&logoColor=%237289da&style=flat-square)](https://discord.gg/mudblazor)
[![Twitter](https://img.shields.io/twitter/follow/MudBlazor?color=1DA1F2&label=Twitter&logo=Twitter&style=flat-square)](https://twitter.com/MudBlazor)
[![Nuget version](https://img.shields.io/nuget/v/MudBlazor.Templates?color=ff4081&label=nuget%20version&logo=nuget&style=flat-square)](https://www.nuget.org/packages/MudBlazor.Templates/)
[![Nuget downloads](https://img.shields.io/nuget/dt/MudBlazor.Templates?color=ff4081&label=nuget%20downloads&logo=nuget&style=flat-square)](https://www.nuget.org/packages/MudBlazor.Templates/)

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
```