Templates for dotnet new
BlazorStatic - Harness the power of Blazor to craft static websites.
Install the BlazorStatic templates:
dotnet new install BlazorStatic.TemplatesThis adds new options to your dotnet new template list. Then create a new project using:
dotnet new BlazorStaticMinimalBlog -o MyBlazorStaticAppYou can exclude the default posts with -e:
dotnet new BlazorStaticMinimalBlog -o MyBlazorStaticApp -e- There is a cron running every day, checking if new version of BlazorStatic appeared
- no: do nothing
- yes:
- get the version and put in to the templates like MinimalBlog
- increment BlazorStatic.Templates version
- create PR
- Once the PR is merged:
- run pipeline that will update BlazorStatic.Templates nuget
- create github template for MinimalBlog and push it there
- Time to time an update has to be made to keep the templates fresh and nice.
pwsh pack_and_test.ps1That will try to run the template and build the project - so you know if it's valid or not.