// Dynamic menu loader — injects children into named groups in the side-nav. // Imported non-blocking from index.html — does not delay routing. // // Example: populate a group declared in config.yml. // // const nav = document.querySelector('side-nav') // await nav.ready // nav.setGroupChildren('Mon Groupe', [ // { label: 'Item A', href: '#/item-a', icon: 'folder' }, // ])