This is a template to help when developing add-ons for Hubs.
As of now add-ons are not yet part of the main Hubs branch, so you'll need to use the Hubs client add-ons branch and install this add-on on it.
- Install the node-module:
npm i https://github.com/MozillaReality/hubs-template-addon.git
- Add the add-on to your Hubs client add-ons configuration file.
addons.json
{
"addons": [
...
"hubs-template-addon",
...
]
}
- Create room in your Hubs instance.
- Enable the add-on in the room configuration.