Adds standard Blazor Web App

This commit is contained in:
Henry Trumme
2025-04-13 22:42:39 +02:00
parent d0aff0012b
commit 9f12a6a9f2
38 changed files with 1443 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
@page "/counter"
@rendermode InteractiveServer
<PageTitle>Counter</PageTitle>
<h1>Counter</h1>
<p role="status">Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}