Explanation: Configuring Rhino - rhino.yml
Source:vignettes/explanation/rhino-yml.Rmd
rhino-yml.Rmd
Configure Rhino with 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
options
sass: 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 withbslib
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.