A golem::create_golem() project_hook that turns a freshly created golem
skeleton into a minimal bootstrict application:
Details
R/app_ui.Ris rewritten to usebs_page()and shows a "Hello world" inside abs_container().An (empty by default)
inst/app/www/_variables.scssdesigner variable sheet is created and wired intobootstrict_theme(), so a designer can drop SCSS variables ($name: value;) in and have them picked up automatically.
golem sets the working directory to the new project before calling the hook, so every path below is relative to the application root.
Examples
if (interactive()) {
golem::create_golem(
"my.app",
project_hook = bootstrict::use_bootstrict_golem
)
}