Open Ljupch0 opened 1 year ago
To summarize #128, the workaround for now is to do Page.widget()
Thank you for all the help. I will keep the thread in this issue.
With Page.widget()
it loads, but sidebars and headers are not displayed, only the main area content. I tried several examples with the same result. This one is from https://github.com/widgetti/solara/blob/master/solara/website/pages/apps/layout-demo.py
Ah yes, you are losing some jupyter/solara magic because of this workaround. Try this:
@solara.component
def Workaround():
with solara.components.applayout._AppLayoutEmbed():
Page()
Workaround.widget()
Workaround works!!
Discussed in https://github.com/widgetti/solara/discussions/128