rhino.yml
Rhino uses its own rhino.yml
config file where you can set a few options on how it works in your app. Currently available
options are described below.
rhino.yml
optionssass: string # required | one of: "node", "r", "custom" legacy_entrypoint: string # optional | one of: "app_dir", "source", "box_top_level"
sass
This option controls the behavior rhino::build_sass()
:
node
: Build Sass using the Node.js package.r
: Build Sass using the R package.custom
: Do nothing. Useful when bundling custom Sass with bslib
theme.Read more in Explanation: Node.js - JavaScript and Sass tools.
legacy_entrypoint
This setting is useful when migrating an existing Shiny application to Rhino. For more details see
rhino::app()
details section.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.