You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/blazor/components.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,8 @@ Use a base-relative path (`/`) to refer to the project root for a static asset:
68
68
69
69
Tilde-slash notation (`~/`) used in web apps is **not** supported in Razor components.
70
70
71
+
For information on setting an app's base path, see <xref:host-and-deploy/blazor/index#app-base-path>.
72
+
71
73
## Tag Helpers aren't supported in components
72
74
73
75
[Tag Helpers](xref:mvc/views/tag-helpers/intro) aren't supported in Razor components (*.razor* files). To provide Tag Helper-like functionality in Blazor, create a component with the same functionality as the Tag Helper and use the component instead.
0 commit comments