We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9668f37 commit 7fab213Copy full SHA for 7fab213
src/BootstrapBlazor.Shared/Components/Components/Wwads.razor
@@ -1,8 +1,9 @@
1
@inherits WebSiteModuleComponentBase
2
@attribute [JSModuleAutoLoader("Components/Wwads.razor.js", AutoInvokeDispose = false)]
3
+@inject IOptionsMonitor<WebsiteOptions> WebsiteOption
4
5
<HeadContent>
- <link rel="stylesheet" href="@Assets["./_content/BootstrapBlazor.Shared/css/wwads.css"]" />
6
+ <link rel="stylesheet" href="@Assets[$"{WebsiteOption.CurrentValue.AssetRootPath}css/wwads.css"]" />
7
</HeadContent>
8
9
<div @attributes="AdditionalAttributes" id="@Id" class="@ClassString"></div>
0 commit comments