Refactor project structure and add initial files

هذا الالتزام موجود في:
Chris Ayers
2024-09-26 11:56:02 -04:00
الأصل ad91fb1dbd
التزام 1dbbdfb081
38 ملفات معدلة مع 1072 إضافات و0 حذوفات

عرض الملف

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