fluidPage(
# Use shinyjs
shinyjs::useShinyjs(),
# Javascript and CSS files ----------------------------------------------
tagList(
tags$head(singleton(tags$script(src = "windowSize.js"))),
tags$head(singleton(tags$link(
rel = "stylesheet",
type = "text/css",
href = "style.css"
))),
# Main UI -------------------------------------------------------------
mainUI("mainNS")
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.