Help with sidebar
Trying to create a custom section in the sidebar. The navigation group is showing up, but the page underneath the group isn't showing up. I'm just doing it with one page right now to try and get it working.
Here's the livewire component:
and in the view I have this:
I've created the page, and registered in my
LocationResource
class as a page:
As you can see in the screenshot, the title of the navigation group is there, so the session variable is getting pulled correctly, but the navigation item is just not showing up.1 Reply
Ideally I think I need to generate an array of NavigationItems, as this would be one of a handful of pages that need to be in this section. But I was initially just focused on getting this to work as a proof of concept.
I was able to add an array of NavigationItems like this:
But for some reason only the navigation group is displaying, the item itself doesn't show up.. I can
dd
the item and see that it's there and everything looks correct. What am I missing?