add support for Auto Prerendering

This commit is contained in:
sbwalker
2024-05-09 14:42:54 -04:00
parent bf4052b550
commit 2ae120c878
9 changed files with 37 additions and 13 deletions

View File

@ -10,7 +10,6 @@
{
@if (ModuleType != null)
{
@((MarkupString)$"<!-- rendermode: {((PageState.RenderMode == RenderModes.Static && ModuleState.RenderMode == RenderModes.Static) ? RenderModes.Static : RenderModes.Interactive + ":" + PageState.Runtime)} - prerender: {ModuleState.Prerender ?? PageState.Site.Prerender} -->")
<ModuleMessage @ref="moduleMessageTop" Message="@_messageContent" Type="@_messageType" />
@DynamicComponent
@if (_progressIndicator)