mirror of
https://github.com/PacktPublishing/Web-Development-with-Blazor-Second-Edition.git
synced 2025-12-06 05:32:03 +01:00
14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
@page
|
|
@model IndexModel
|
|
@{
|
|
ViewData["Title"] = "Home page";
|
|
}
|
|
|
|
<div class="text-center">
|
|
<h1 class="display-4">Welcome</h1>
|
|
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
|
|
</div>
|
|
|
|
@*<5. Add the component>*@
|
|
<my-blazor-counter increment-amount="10"></my-blazor-counter>
|
|
@*</5. Add the component>*@ |