Replies: 2 comments
-
I had the same issue any answers? |
Beta Was this translation helpful? Give feedback.
-
I got around the problem with JavaScripts.I hope it helps you. `var navMenuElement; function initializeLayoutVar() { // Observe changes to the DOM and call initializeLayoutVar when the navMenu is added |
Beta Was this translation helpful? Give feedback.
-
I have a problem with the SideBar component: the NavItem is not displayed.
I work with:
`@inherits LayoutComponentBase
@Inject CultureService CultureService
@Inject GlobalVariableService GlobalVariableService
@Inject IStringLocalizer localizer
@using Microsoft.AspNetCore.Components.Authorization;
@using System.Globalization;
@code {
Sidebar sidebar = default!;
IEnumerable? navItems;
protected override void OnInitialized()
{
}
<title>MauiSalesPoint</title>I did everything in order according to the documentation. CSS references and script references in wwwroot/index.html
Register tag helpers in _Imports.razor
@using BlazorBootstrap
and I also remove the default refecence
Beta Was this translation helpful? Give feedback.
All reactions