mirror of https://github.com/abpframework/abp.git
5 changed files with 40 additions and 4 deletions
@ -1,7 +1,16 @@ |
|||||
@page "/" |
@page "/" |
||||
|
@using Volo.Abp.AspNetCore.Components.Messages |
||||
|
@inject IUiMessageService UiMessageService |
||||
|
|
||||
<h1>Hello, world!</h1> |
<h1>Hello, world!</h1> |
||||
|
|
||||
Welcome to your new app. |
<Button Color="Color.Primary" Clicked="ShowMessage">Show message</Button> |
||||
|
|
||||
<SurveyPrompt Title="How is Blazor working for you?" /> |
<UiMessageAlert /> |
||||
|
|
||||
|
@code{ |
||||
|
private async Task ShowMessage() |
||||
|
{ |
||||
|
await UiMessageService.Success("Blazorize is properly working :)"); |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue