Add project files.
This commit is contained in:
parent
d867fa03f3
commit
00c33a335c
41 changed files with 1543 additions and 0 deletions
18
Lieb/Pages/Counter.razor
Normal file
18
Lieb/Pages/Counter.razor
Normal file
|
@ -0,0 +1,18 @@
|
|||
@page "/counter"
|
||||
|
||||
<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++;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue