Skip to content

Deploy multiple apps in separate folders and customized landing page #821

Answered by iisakkirotko
wang-boyu asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @wang-boyu!

The solara.dev website is included in this repo (and thus also the package), so you can run it with

solara run solara.website.pages

For how to replicate this on your own apps - you probably want to take a look at the Gallery component that we use to make the examples page. You can find the component here. For a bit of background, we do the routing based on modules, meaning that when you look at the examples page of our website, first the module examples is ran (that is, the __init__.py of that folder), then Solara picks up the Page component of that module, and renders it. The Page component actually gets injected as the children of the Layout component of the module, as w…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wang-boyu
Comment options

Answer selected by wang-boyu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants