Skip to content

Commit

Permalink
Merge pull request #4064 from thabaum/Fixes-#4062-move-app-body-resou…
Browse files Browse the repository at this point in the history
…rces

Fixes #4062: App.razor - moves loading body resources above blazor.web.js
  • Loading branch information
sbwalker authored Mar 25, 2024
2 parents 045c225 + aec7d5a commit fb4171a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Oqtane.Server/Components/App.razor
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@
<Routes PageState="@_pageState" RenderMode="@_renderMode" Runtime="@_runtime" AntiForgeryToken="@_antiForgeryToken" AuthorizationToken="@_authorizationToken" Platform="@_platform" @rendermode="InteractiveRenderMode.GetInteractiveRenderMode(_runtime, _prerender)" />
}

<script src="js/app.js"></script>
<script src="js/loadjs.min.js"></script>
<script src="js/interop.js"></script>
<script src="_framework/blazor.web.js"></script>

@if (!string.IsNullOrEmpty(_reconnectScript))
{
@((MarkupString)_reconnectScript)
Expand All @@ -82,6 +77,11 @@
@((MarkupString)_PWAScript)
}
@((MarkupString)_bodyResources)

<script src="js/app.js"></script>
<script src="js/loadjs.min.js"></script>
<script src="js/interop.js"></script>
<script src="_framework/blazor.web.js"></script>
}
else
{
Expand Down

0 comments on commit fb4171a

Please sign in to comment.