This commit is contained in:
CortexCore
2024-05-09 01:24:50 +08:00
commit 01f42d169d
24 changed files with 1386 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
@page "/counter"
<MudPopoverProvider />
<MudDialogProvider />
<MudSnackbarProvider />
<PageTitle>Counter</PageTitle>
<MudText Typo="Typo.h3" GutterBottom="true">Counter</MudText>
<MudText Class="mb-4">Current count: @currentCount</MudText>
<MudButton Color="Color.Primary" Variant="Variant.Filled" @onclick="IncrementCount">Click me</MudButton>
@code {
private int currentCount = 0;
private void IncrementCount()
{
currentCount++;
}
}