Trying out blazor too I guess

This commit is contained in:
Lani Aung
2024-09-15 21:35:25 -06:00
parent de9c6e6e92
commit 009efc4643
70 changed files with 1300 additions and 746 deletions
@@ -0,0 +1,20 @@
@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++;
}
}