Adding Pages and Components to the App Model
Example
builder.AddPage(
new Page
{
Id = AppConstants.Pages.HomePage, // Unique page identifier
Title = "Home", // Display title
Name = "home", // Internal page name
Area = ContainerComponent.Create(
new HtmlComponent
{
HtmlContent =
"The journey of a thousand lines of code begins with a single idea, and a belief that innovation can turn complexity into simplicity. 🖼️",
}
),
}
);Explanation
Last updated