I'm looking for advice on building navigation for ...
# kilua
n
I'm looking for advice on building navigation for the admin panel, which includes many pages organized into a multilevel navigation tree. My goal is to avoid writing related code in multiple places. Ideally, it should be possible to reconstruct routes and the nav bar from the injected`ListPage`However, I am also okay with the route file. At first glance, the real-world example could work fine at a single level, as I could automate filling both routes and the nav bar. However, I have no idea what to do with the second level, as this example contains code in both places (#1 and #2). What I dislike is that the code in both places must match precisely. Maybe I could use compose navigator assuming it will work with kilua and I could set multilevel router. Just an idea, but if I could get a navigation tree model from `kilua-routing`and when I could reconstruct the nav bar from it.