Include
Manage modules from Moddable
The Moddable SDK ships with many first-party modules to support various features, peripherals, sensors, etc. The include
command will update the project manifest.json
with the selected module:
Or select from available modules:
Select a device
When the --device
flag is present, the module is added to the platforms
section of the manifest.json
for the specified device. When device
is not provided, the module is added to the global manifest section to be used for all devices. For example, the following adds the module for use on esp32
devices only:
Remove a module
Updates the manifest.json
to remove the module.
Or remove all modules that contain a string. This removes all modules that contain "wifi"
.
The --device
flag works for the remove
command as well: