Novolis Docs
novolis-blazor / getting-started.md

Getting started

Install the required chrome stylesheet:

dotnet add package Novolis.Blazor.GraphicalProfile

Link GraphicalProfile.StylesheetHref from the host index.html and use --ngp-* tokens.

Install the chrome components:

dotnet add package Novolis.Blazor.Components

Link 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.Mermaid

Register 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.