Blazor WASM not loading CSS files (or other static assets) from Razor Component libraries

Make sure you reference the razor library from the ASP.NET Host (Web.Server), otherwise the ASP.NET Host does not have any knowledge of your library unless you reference it directly.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s