New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pyodide & Solara Integration? #629
Comments
Hi Paul, I did some initial work on Pyodide support, but I didn't like how it worked, I'm more of a fan of pycafe, which runs solara unmodified. However, it seems that you do not want to run solara in Pyodide, but solara with solara-server, and have Pyodide running on a page rendered by solara. If that is correct, maybe it's better to look at: Regards, Maarten |
I want to add Pyodide to Solara so the clients can run Python code in the browser.
Having a look over Solara code base i noticed this line:
render_kwargs={"for_pyodide": True}
What does it do? I found it here and was curious to know if there is a simpler way than adding it manually, which brings me onto my next question.
I can see in Solara's documentation that I can have a head tag but I can't use a script tag, is this correct? If so how would I add Pyodide from a CDN?
I have setup the Assets & Public directories but I'm not sure how to use the <script> tag to load Pyodide.
The text was updated successfully, but these errors were encountered: