如何将其更改为闪亮的
"My Dashboard"
body <- dashboardBody(shinyjs::useShinyjs(), tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "style.css"),
tags$script(src = "myscript.js"),
), uiOutput("body"))
header <- dashboardHeader(title = tags$a(
href = "#",
tags$img(
src = "my-logo.png",
height = "80px",
width = "170px",
),
),uiOutput("logoutbtn"))
ui <- dashboardPage(header,
dashboardSidebar(disable = TRUE),
body, skin = "blue")
我试图在标签$a之前添加它,但它给出了一个错误
Error in FUN(X[[i]], ...) : Expected tag to be of type li
是否也可以将地球徽标更改为自定义 png?