BlazorTemplates

A collection of blazor templates.


Keywords
dotnet-new, templates, blazor, blazor-templates
License
MIT
Install
Install-Package BlazorTemplates -Version 2.0.0

Documentation

blazor-templates

Nuget Nuget License

A collection of project templates for blazor

The goal of this project is to maintain a set of project templates that get rid of the main challenges with new blazor projects (e.g. when one wants to use material design, one first needs to edit&remove a lot of files, before the project is properly set up).

Installation

Add the templates to your machine by running

dotnet new -i BlazorTemplates

Usage

1. Pick template

Browse the templates (dotnet new to see them all), to find the name of the template you want to install, e.g. blazor-vanilla-wasm.

2. Create new project

mkdir my_project
cd my_project
dotnet new blazor-vanilla-wasm
# or
dotnet new blazor-vanilla-wasm --name MyProjectName

Source code for templates

The source code for the templates can be found in the templates folder.