novolis-blazor / getting-started.md
Getting started
Install the required chrome stylesheet:
dotnet add package Novolis.Blazor.GraphicalProfileLink GraphicalProfile.StylesheetHref from the host index.html and use --ngp-* tokens.
Install the chrome components:
dotnet add package Novolis.Blazor.ComponentsLink Chrome.StylesheetHref after the profile tokens. Hosts then use AppChrome, SectionCard, LinkCard, CardList, PageHeader, ConfirmDialog, ArticleView, EntryList, and NotFoundView.
Install the Mermaid component:
dotnet add package Novolis.Blazor.MermaidRegister the package's Razor components in the host and render a diagram:
<MermaidDiagram Mermaid="@diagram" Theme="MermaidRenderTheme.GitHubLight" />The component renders through Novolis.Markup.Mermaid.Rendering. It is intended for interactive server and other hosts that can execute the Novolis renderer.