| add_resource_path {tabler} | R Documentation |
Register a Directory of Static Resources
Description
Serves files under directory_path at URLs beginning
with /prefix/, mirroring shiny::add_resource_path(). Use this
to serve an app's own CSS/JS/image assets (e.g. from inst/app/www)
without depending on shiny or golem.
Usage
add_resource_path(prefix, directory_path)
Arguments
prefix |
The URL prefix (e.g. "www" serves files at /www/...).
|
directory_path |
Absolute path to the directory to serve. |
Value
Invisibly, NULL.