Hi @panpawel ,
The static web assets are enabled by default in the Development environment. To support assets in other environments when running from build output, call UseStaticWebAssets
on the host builder in Program.cs:
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStaticWebAssets();
webBuilder.UseStartup<Startup>();
});
After that, the result as below:
Reference: Consume content from a referenced RCL
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Dillion