FYI - I wrote a tiny framework for flexible menus/sub-menus which keeps the menu definitions all in one place. See this reply in the OP’s thread about option menu.
Thanks for sharing @ricardo.pascoal .
I received an AttributeError: module ‘pages.{page_name}’ has no attribute ‘createPage’. From where is the createPage function coming from ?
thank you for that @ricardo.pascoal, yes it all works. Is there a way that we can actually leverage the new Streamlit 1.10 Multi-Page functionality where each page has a unique URL?