Wire up a test case for full routing

This commit is contained in:
2026-02-16 12:32:55 -08:00
parent 7e9dcf928d
commit 441ec74069
+17
View File
@@ -1,7 +1,24 @@
@page "/" @page "/"
@rendermode InteractiveServer
<PageTitle>Home</PageTitle> <PageTitle>Home</PageTitle>
<h1>Hello, world!</h1> <h1>Hello, world!</h1>
Welcome to your new app. Welcome to your new app.
<button @onclick="pullData">@buttonText</button>
@code {
string buttonText = "Pull finance data";
async Task pullData(){
buttonText = "Do not refresh the page. The data is refreshing.";
await Task.Delay(1);
aiModule.PullData();
buttonText = "Refresh Completed";
}
}