-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion
Description
Hi,
Currently Blazor is made for SPA, of course we can split it with area but we can only have one
_Host.cshtml page for the entire application.
In my situation, each area is really different, and I need to include different CSS libs, JS libs etc...
So, I have try to play with MapFallbackToAreaPage/MapFallbackToPage etc... but I can't find any solution that really work !
What I wish is the ability to have a 'root' cshtml page per area, but not sure it is possible today ?
BTW, I have a post on stackoverflow about this:
https://stackoverflow.com/questions/61490973/blazor-multiples-area-custom-hostm-cshtml?noredirect=1#comment108802743_61490973
Is there a solution (and an example somewhere) ?
Thx
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Componentsquestion