-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
Description
Currently the only information about how to serve static content is in https://shinylive.io/py/examples/#static-content which is overly complex and not the place I would expect to look. I was trying to add a static image to an app by asking shiny assistant and it had no idea about the requirement to add this which wasted loads of time:
www_dir = Path(__file__).parent / "www"
app = App(app_ui, server, static_assets = www_dir)
It would be good if this was explained in https://shiny.posit.co/py/docs/ and if ui.img (and maybe ui.tags.iframe) could be included in the https://shiny.posit.co/py/api/ reference guide.