8.4 Setting infrastructure for prototyping
8.4.1 Add modules in dev/02_dev.R
The golem::add_module()
function creates a module in the R folder. Each module created will follow the convention mod_
and mod_*_ui
and mod*server
to the UI and server functions.
# Creating a module skeleton
::add_module(name = "my_first_module") golem
Here, you will paste (at the end of the file) that has to be copied and pasted inside your UI and server functions.
This is the core of your application and where the development focus begins.