'Why won't Blazor won't let me use standard HTML element to specify a component?
I just added Blazor to an older .net core project, upgraded it to .NET 6.0 and if I use a component I've created in a .cshtml file like this:
<component type="typeof(Component1)" render-mode="Server" />
... it works, however... if I use it with HTML element syntax...
<Component1 />
... it ignores it. What am I doing wrong?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
