Skip to contents

Take a path to a page and convert it to a link for use in Shiny UI.

Usage

router_link(path)

Arguments

path

Path of the destination page.

Value

A link to the destination page.

Examples

htmltools::a(href = router_link("home"), "Home page")
#> <a href="./#!/home">Home page</a>