A collection of Blazor components for the web. Fork from https://github.com/aspnet/AspLabs
1. Add the nuget package in your Blazor project
> dotnet add package Quick.Components.Web.Extensions
OR
PM> Install-Package Quick.Components.Web.Extensions
2. Add the following line in your _Imports.razor
@using Microsoft.AspNetCore.Components.Web.Extensions.Head
3. Reference the static files
Add the following static file references in your _Host.cshtml
(server-side blazor) or in your index.html
(client-side blazor).
Make sure that there is a call to app.UseStaticFiles();
in your server project's Startup.cs
.
<script type="module" src="_content/Quick.AspNetCore.Components.Web.Extensions/headManager.js"></script>
<Title Value="Page title to be set"></Title>