#' Run the Shiny Application
#'
#' @export
#' @importFrom shiny shinyApp
locate <- function(...) {
with_golem_options <- function(app, golem_opts){
app$appOptions$golem_options <- golem_opts
app
}
with_golem_options(
app = shinyApp(ui = app_ui, server = app_server),
golem_opts = list(...)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.