inst/doc/deployment.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(collapse = TRUE, comment = "#>", eval = FALSE)

## -----------------------------------------------------------------------------
# page(href = "/contact", ui = tagList(h1("Contact")))

## -----------------------------------------------------------------------------
# brochureApp(
#   page(href = "/", ui = tagList(h1("Home"))),
#   page(href = "/contact", ui = tagList(h1("Contact"))),
#   basepath = "myapp"
# )

## -----------------------------------------------------------------------------
# brochureApp(
#   page(href = "/", ui = tagList(h1("Home"))),
#   page(href = "/contact", ui = tagList(h1("Contact")))
# )

## -----------------------------------------------------------------------------
# tags$a(href = "/contact", "Contact")        # yes
# tags$a(href = "contact", "Contact")         # depends on the current page
# tags$a(href = "../contact", "Contact")      # depends on the current page

Try the brochure package in your browser

Any scripts or data that you put into this service are public.

brochure documentation built on Oct. 14, 2026, 5:08 p.m.