posit-dev / r-shinylive

https://posit-dev.github.io/r-shinylive/
Other
151 stars 16 forks source link

sourcing the shiny app #53

Closed topepo closed 6 months ago

topepo commented 6 months ago

It looks like using the quarto file options doesn't work.

Here's an example repo with the app inside of the qmd and then another using file: <filepath>. Let me know if I'm doing something wrong.

gadenbuie commented 6 months ago

You aren't doing anything wrong, the shinylive extension doesn't support reading from external files (yet!). It would certainly be a useful feature! I think https://github.com/quarto-ext/shinylive/issues/37 is a request for this feature, which would need to be implemented in that repo (for the quarto extension).