Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blazor-templates/blazor-templates
A collection of project templates for blazor
https://github.com/blazor-templates/blazor-templates
blazor blazor-templates dotnet-new
Last synced: 20 days ago
JSON representation
A collection of project templates for blazor
- Host: GitHub
- URL: https://github.com/blazor-templates/blazor-templates
- Owner: blazor-templates
- License: mit
- Created: 2020-09-15T06:53:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-09T12:53:40.000Z (about 3 years ago)
- Last Synced: 2024-10-02T07:49:58.548Z (about 2 months ago)
- Topics: blazor, blazor-templates, dotnet-new
- Language: HTML
- Homepage:
- Size: 73.2 KB
- Stars: 23
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blazor-templates
[![Nuget](https://img.shields.io/nuget/v/BlazorTemplates)](https://www.nuget.org/packages/BlazorTemplates/)
[![Nuget](https://img.shields.io/nuget/dt/BlazorTemplates)](https://www.nuget.org/packages/BlazorTemplates/)
[![License](https://img.shields.io/github/license/blazor-templates/blazor-templates)](https://github.com/blazor-templates/blazor-templates)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
```bash
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](https://github.com/blazor-templates/blazor-templates/tree/main/templates) folder.