Scaffolds a leprechaun project. This must be run from within a package and should only be run once per project.
scaffold(
ui = c("navbarPage", "fluidPage"),
bs_version = bootstrap_version(),
overwrite = FALSE
)
ui
: Type of UI to use.bs_version
: Bootstrap version to use.
If shiny > 1.6 is installed defaults to version 5,
otherwise version 4.overwrite
: Whether to force overwrite all files.
This is not recommended, make sure you have save and/or
committed and checked that the files that will be overwritten
can be before proceeding with this option.Invisibly return NULL
, called for side-effects.
scaffold()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.