chanan/BlazorStrap

Support for Blazor Web App

marcOcram opened this issue · 1 comments

If I create a Blazor Web App with the following template in Visual Studio, BlazorStrap does not work.

image

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) 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.

Okay, my fault. I did not set the @rendermode.