This commit is contained in:
Frank
2021-05-20 10:43:51 -04:00
parent 3074b47f70
commit 5a3ae0e808
29 changed files with 1691 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
@page "/counter"
<h1>Counter</h1>
<p>Current count: @currentCount</p>
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}