I work with Gollem but somehow I get dots in the left corner plus a text calling "left"....which confuses me
#' The application User-Interface
#'
#' @param request Internal parameter for `{shiny}`.
#' DO NOT REMOVE.
#' @import shiny
#' @import bs4Dash
#' @import dplyr
#' @import tidyr
#' @noRd
#' The application User-Interface
#'
#' @param request Internal parameter for `{shiny}`.
#' DO NOT REMOVE.
#' @import shiny
#' @noRd
# app UI
app_ui <- function(request) {
tagList(
dashboardPage(
header = bs4DashNavbar(
navbarMenu(
navbarTab(tabName = "Tab1", text = "Tab 1"),
navbarTab(tabName = "Tab2", text = "Tab 2"),
navbarTab(
text = "Menu",
dropdownHeader("Dropdown header"),
navbarTab(tabName = "Tab3", text = "Tab 3"),
dropdownDivider(),
navbarTab(
text = "Sub menu",
dropdownHeader("Another header"),
navbarTab(tabName = "Tab4", text = "Tab 4"),
dropdownHeader("Yet another header"),
navbarTab(tabName = "Tab5", text = "Tab 5"),
navbarTab(
text = "Sub sub menu",
navbarTab(tabName = "Tab6", text = "Tab 6"),
navbarTab(tabName = "Tab7", text = "Tab 7")
)
)
)
)
),
sidebar = dashboardSidebar(
),
body = dashboardBody(
# Add main content or placeholders for app UI here
)
)
)
}
#' Add external Resources to the Application
#'
#' This function is internally used to add external
#' resources inside the Shiny application.
#'
#' @import shiny
#' @importFrom golem add_resource_path activate_js favicon bundle_resources
#' @noRd
golem_add_external_resources <- function() {
add_resource_path(
"www", app_sys("app/www"),
)
}
Hi
So I want to add menus in the header using navbarMenu()
I work with Gollem but somehow I get dots in the left corner plus a text calling "left"....which confuses me
The bs4Dash sample code does work
So with Gollem its a bit tricky to share all the code but this is app_ui.R