An easy to use dotnet template to quickly create a .NET 5 Blazor Component with a code-behind and CSS isolated file.
You can install the templates by running the following command:
dotnet new -i Miqo.Templates
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