diff --git a/aspnetcore/blazor/class-libraries.md b/aspnetcore/blazor/class-libraries.md index 41ebb9633d..5d21684eda 100644 --- a/aspnetcore/blazor/class-libraries.md +++ b/aspnetcore/blazor/class-libraries.md @@ -126,28 +126,3 @@ dotnet nuget publish ``` When using the `blazorlib` template, static resources are included in the NuGet package. Library consumers automatically receive scripts and stylesheets, so consumers aren't required to manually install the resources. Note that [static assets aren't supported for server-side apps](#static-assets-not-supported-for-server-side-apps), including when a Blazor library (`blazorlib`) is referenced by a server-side app. - -## Create a razor class library with static assets - -Razor class libraries (RCL) frequently require companion static assets that can be referenced by the consuming app of the RCL. ASP.NET Core allows creating RCLs that include static assets that are available to a consuming app. - -To include companion assets as part of a Razor class library, create a *wwwroot* folder in the class library and include any required files in that folder. - -When packing a Razor class library, all companion assets in the *wwwroot* folder are included in the package automatically and are made available to apps referencing the package. - -### Consume content from a referenced Razor class library - -The files included in the *wwwroot* folder of the Razor class library are exposed to the consuming app under the prefix `_content/{LIBRARY NAME}/`. The consuming app references these assets via `