add [StreamRendering] to Head component for static rendering
This commit is contained in:
parent
6f215cbff9
commit
be98f786b3
|
@ -3,6 +3,8 @@
|
||||||
@using Oqtane.Shared
|
@using Oqtane.Shared
|
||||||
@inject SiteState SiteState
|
@inject SiteState SiteState
|
||||||
@implements IDisposable
|
@implements IDisposable
|
||||||
|
@* the following StreamRendering attribute is required - if it is removed the framework will not render the content in static rendering *@
|
||||||
|
@attribute [StreamRendering]
|
||||||
|
|
||||||
@if (!string.IsNullOrEmpty(_title))
|
@if (!string.IsNullOrEmpty(_title))
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
@inject IInstallationService InstallationService
|
@inject IInstallationService InstallationService
|
||||||
@inject IJSRuntime JSRuntime
|
@inject IJSRuntime JSRuntime
|
||||||
@inject SiteState SiteState
|
@inject SiteState SiteState
|
||||||
@* the following StreamRendering attribute is required - if it is removed the framework will not render a UI on static rendering *@
|
@* the following StreamRendering attribute is required - if it is removed the framework will not render the content in static rendering *@
|
||||||
@attribute [StreamRendering]
|
@attribute [StreamRendering]
|
||||||
|
|
||||||
@if (_initialized)
|
@if (_initialized)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user