Open tombeteende opened 9 months ago
stpages
I'm not sure exactly how this is related to the streamlit-option-menu.
But in general it is streamlit behavior to automatically create the sidebar if you put your pages in a pages
dir.
if you want to use the menu instead, just rename that dir and then using an if/else or match/case just decide what to load (which page to show)
I have a multi-page app where all the pages besides the main page are under
/pages
.I want to override the default sidebar with the a horizontal option menu.
What is the best way to do it?