Bootstrapping
In order to use Quebec, you must bootstrap it. It's only one line of code, so there's no need to worry 😉
require(game:GetService("ReplicatedStorage").Quebec)(script--[[, optional options ]])
It's as easy as that! But there is one requirement: The calling script must contain a folder called controllers
or services
(for the singletons) or the folder exists as a child of the parent instance.
🎚️ Passing Options
The second parameter can optionally be a table of options to configure the instance:
require(game:GetService("ReplicatedStorage").Quebec)(
script,
{
--[[ options ]]
}
)
📦 Available Options
config?
ModuleScript | FrameworkConfiguration
Passes a ModuleScript containing the framework configuration or the configuration itself
exportName?
string
Exports this instance to be used in other instances
singletonFolder?
string | Folder
Sets the folder which holds singletons. This can either be a folder name or a folder directly
* ?
marks an identifier as optional
Last updated