Why I cannot find Blazorise scripts and it has not found content directory?

Viewed 39
1 Answers

It helps if you have another root path

var builder = WebApplication.CreateBuilder(new WebApplicationOptions
{
    WebRootPath = "wwwroot",
    Args = args
});

or use only

var builder = WebApplication.CreateBuilder(args);

then

builder.WebHost.UseStaticWebAssets();
Related