blazor added back

This commit is contained in:
2021-10-13 17:33:18 -04:00
parent bf937f7a2e
commit d0ad783cfd
35 changed files with 1410 additions and 0 deletions

17
Web/Pages/Counter.razor Normal file
View File

@@ -0,0 +1,17 @@
@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++;
}
}