Closed marcOcram closed 3 months ago
If I create a Blazor Web App with the following template in Visual Studio, BlazorStrap does not work.
In the network tab I can see that https://localhost:7288/_content/BlazorStrap/blazorstrapinterop.js is not loaded.
https://localhost:7288/_content/BlazorStrap/blazorstrapinterop.js
Repro: https://github.com/marcOcram/BlazorStrapNotLoadingBlazorWebRepro
The repro contains two apps: BlazorApp.Server (the classic Blazor Server) and BlazorApp.Web.Server (the Blazor Web App with server render mode). You can see that in the classic Server app the dropdown does work, inside the web app it does not work.
BlazorApp.Server
BlazorApp.Web.Server
Okay, my fault. I did not set the @rendermode.
@rendermode
If I create a Blazor Web App with the following template in Visual Studio, BlazorStrap does not work.
In the network tab I can see that
https://localhost:7288/_content/BlazorStrap/blazorstrapinterop.js
is not loaded.Repro: https://github.com/marcOcram/BlazorStrapNotLoadingBlazorWebRepro
The repro contains two apps:
BlazorApp.Server
(the classic Blazor Server) andBlazorApp.Web.Server
(the Blazor Web App with server render mode). You can see that in the classic Server app the dropdown does work, inside the web app it does not work.