I am using the menu bar (SfMenu) component in a Blazor Web Assembly app, and I am currently testing deployment to a sub app / sub folder of a main web url.
When I do this, the app starts ok but no menu is displayed. I have also reproduced this problem in development by setting my environment up to use the same sub app in the development web server path.
The attached image of the web console debug output shows what is happening. It appears that the app base path ('adminportal') is not added as part of the base url for this call:
GEThttps://localhost:44308/_content/Syncfusion.Blazor/scripts/navigationsbase-20233e.min.js
[HTTP/2 404 Not Found 7ms]
The call immediately before it is ok though:
GEThttps://localhost:44308/adminportal/_content/Syncfusion.Blazor/scripts/syncfusion-blazor.min.js
[HTTP/1.1 200 OK 0ms]
I have set the base path in index.html: <base rel='nofollow' href="/adminportal/" /> . as per the Blazor deployment documentation.
Please help!
Thanks
Attachment:
output_9b35a088.zip