Closed armenic closed 2 years ago
The same issue happens on shnyapps.io, pleas see https://armenic.shinyapps.io/reaction/
It's an issue with the guide on the website, apologies.
It's missing golem_add_external_resources
in the UI, here should be
app_ui <- function(request) {
fluidPage(
golem_add_external_resources(),
h1("reaction"),
tagList(
reactCDN(),
div(id = "app"),
tags$script(src = "www/index.js")
)
)
}
You are amazing @JohnCoene, thank you so much for the fix as well as update to React 18 💯
Dear developer,
Thank you so much for an awesome package and a nice example of golem-react https://packer.john-coene.com/#/examples/golem-react I followed your steps and it run fine locally on my machine. Then I run
golem::add_rstudioconnect_file()
to generate app.R for deploying to RS Connect. The full code I used is at https://github.com/armenic/reactionThis is the content of app.R
Then I deployed it to RS Connect by uploading the whole package, every file. The app shows only the ui that comes from Shiny and fails to find the
index.js