quarto-ext / shinylive

Quarto extension to embed Shinylive for Python applications
https://quarto-ext.github.io/shinylive/
MIT License
140 stars 7 forks source link

shinylive not rendering in quartopub #9

Open quartotrying opened 1 year ago

quartotrying commented 1 year ago

The in-document shinylive extension is working whenever I knit from quarto, but whenever I try to publish to quartopub it disappears after trying to load for a few seconds. The 'editor' section will show before it's done loading but will dissapear with the 'viewer' section.

wch commented 1 year ago

Can you provide an example, with code in a git repository, and the published document on quartopub?

dar4datascience commented 10 months ago

Hello, just to chime in. I initially was presented with the same issue @quartotrying presented. This was cause when trying to directly publish a qmd file with shinylive code chunks directly to quarto pub. Here is a website displaying the issues: Render the qmd directly

To successfully publish in QuartoPub one needs to publish a whole Quarto project: Rendered as a project

The repository can be found here: Repository

The branch demo fail contains the code for the single deployment and main contains the code for the successfull deployment.