These functions create files inside the inst/app
folder.
add_js_file(name, pkg = get_golem_wd(), dir = "inst/app/www",
open = TRUE, dir_create = TRUE)add_js_handler(name, pkg = get_golem_wd(), dir = "inst/app/www",
open = TRUE, dir_create = TRUE)
add_css_file(name, pkg = get_golem_wd(), dir = "inst/app/www",
open = TRUE, dir_create = TRUE)
add_ui_server_files(pkg = get_golem_wd(), dir = "inst/app",
dir_create = TRUE)
The name of the module
Path to the root of the package. Default is "."
.
Path to the dir of the file
Should the file be opened?
Creates the directory if it doesn't exist, default is TRUE
.