#' @import shiny
.onLoad <- function(...){
shiny::addResourcePath("shinytreemenu", system.file("www", package = "ShinyTreeMenu"))
}
# htmltools::htmlDependency(
# name = "ShinyTreeMenu", version = "0.1",
# package = "ShinyTreeMenu",
# src = "shinytreemenu",
# stylesheet = "css/shinytreemenu.css"
# )
#
# createWebDependency("shinytreemenu")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.