[Blazor Wasm] Multiple layouts with different set of css and javascript #28624
Labels
area-blazor
Includes: Blazor, Razor Components
✔️ Resolution: Answered
Resolved because the question asked by the original author has been answered.
Status: Resolved
Milestone
The layout system described in ASP.NET Core Blazor layouts suggest that all the CSS and javascript files will be in the
index.html
file. That means CSS and javascript files specific to one layout will also be available in the other layout's<head>
too.Is it possible to have multiple layouts with completely different sets of CSS and javascript files like MVC and Razor Pages?
Thank you.
Note: Due to this problem I am already facing the CSS isolation problem described in #28626 . So each layout must have completely different
<html>
,<head>
and</body>
tag.The text was updated successfully, but these errors were encountered: