diff --git a/Pages/Counter.razor b/Pages/Counter.razor new file mode 100644 index 0000000..ef23cb3 --- /dev/null +++ b/Pages/Counter.razor @@ -0,0 +1,18 @@ +@page "/counter" + +Counter + +

Counter

+ +

Current count: @currentCount

+ + + +@code { + private int currentCount = 0; + + private void IncrementCount() + { + currentCount++; + } +} diff --git a/y4f.csproj b/y4f.csproj index 539e420..f5e9a37 100644 --- a/y4f.csproj +++ b/y4f.csproj @@ -5,7 +5,6 @@ enable enable service-worker-assets.js - true