From 0f54e9e64b8bdfcbe2e7d1525067cb6eca3fb285 Mon Sep 17 00:00:00 2001 From: Bouke Haarsma Date: Tue, 22 Feb 2022 20:45:52 +0100 Subject: [PATCH] Additional javascript required for custom elements (#25102) --- aspnetcore/blazor/components/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aspnetcore/blazor/components/index.md b/aspnetcore/blazor/components/index.md index 9fff3c6cec..2ff551ddd1 100644 --- a/aspnetcore/blazor/components/index.md +++ b/aspnetcore/blazor/components/index.md @@ -1124,6 +1124,12 @@ Register a root component as a custom element: > [!NOTE] > The preceding code example requires a namespace for the app's components (for example, `using BlazorSample.Pages;`) in the `Program.cs` file. +Include the following ` +```` + Use the custom element with any web framework. For example, the preceding counter custom element is used in a React app with the following markup: ```html