Greetings,
Not sure if I'm doing something wrong here. I've added the following sidebar snippet to my MainLayout.razor file:
@inherits LayoutComponentBase
<div class="page">
<SfSidebar Type="SidebarType.Over" ShowBackdrop="true" Width="300px" DockSize="65px" EnableDock="true" @bind-IsOpen="SidebarToggle">
<ChildContent>
<div style="text-align: center;" class="text-content"> Sidebar </div>
<NavMenu />
</ChildContent>
</SfSidebar>
<main>
<div class="top-row px-4">
<a rel='nofollow' href="https://www.syncfusion.com/blazor-components/" target="_blank">Blazor Components</a>
<a rel='nofollow' href="https://blazor.syncfusion.com/documentation/" target="_blank">User Guide</a>
<a rel='nofollow' href="http://blazor.syncfusion.com/" target="_blank">View Demos</a>
</div>
<article class="content px-4">
@Body
</article>
</main>
</div>
I've made no changes to the Imports.razor file as these are already configured per the project generator. Yet I get no visible sidebar in the application on launch. No errors in the console or network traffic.
The project type is .Net 8.0 - Syncfusion Blazor Web App (.Net 8.0 LTS), Fluent Theme, Individual Accounts, Auto (Server + WASM), Per page/component interactivity.
The snippet is taken directly from the docs: https://blazor.syncfusion.com/documentation/sidebar/getting-started
Are there any known issues with .Net 8.0 LTS?
@Body