Switched to Blazor.

This commit is contained in:
douwe
2025-04-06 14:30:02 +02:00
parent 5724f28599
commit 25567d3433
258 changed files with 106366 additions and 38637 deletions

View File

@@ -0,0 +1,21 @@
@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;
[Parameter]
public int IncrementAmount {get;set;} = 1;
private void IncrementCount()
{
currentCount += IncrementAmount;
}
}