Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 788 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 788 Bytes

Miqo.Templates for dotnet

An easy to use dotnet template to quickly create a .NET 5 Blazor Component with a code-behind and CSS isolated file.

Getting started

Installation

You can install the templates by running the following command:

dotnet new -i Miqo.Templates

Usage

To create a new Blazor Component, you can run the following command:

dotnet new miqo-blazorcss [options]

This will create a new Blazor component with a code-behind and CSS file in the current folder. You can set the name of the new component with the -n option like this:

dotnet new miqo-blazorcss -n Alerts

You can set the component's namespace with the '-namespace' option like this:

dotnet new miqo-blazorcss -n Alerts -namespace SpiffyApp