added support for dynamic inclusion of global resources in _host.cshtml ( ie. global stylesheets and scripts such as those required by UI component suites )

This commit is contained in:
Shaun Walker
2020-08-28 11:24:43 -04:00
parent 4aa0b83807
commit a8cd84e798
3 changed files with 75 additions and 0 deletions

View File

@ -3,6 +3,7 @@
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@model Oqtane.Pages.HostModel
<!DOCTYPE html>
<html>
@ -16,6 +17,7 @@
<link id="app-manifest" rel="manifest" />
<link rel="stylesheet" href="css/app.css" />
<script src="js/loadjs.min.js"></script>
@Html.Raw(@Model.Resources)
</head>
<body>
@(Html.AntiForgeryToken())