Widget Development Methods
Language
We write our widgets in JavaScript. Rendering part of the widget definition can be created using:
-
ReactJS - this is the recommended method and requires to create JS bundle file (you must use the build system described in Building section below). Code must be compatible with ReactJS v16.x.
-
Plain JavaScript - enables you to write pure JS code and optionally attach an HTML template file.
See render function in Widget Definition page for details about how to use those methods.
Building
To ease widget building, you should use Cloudify Management Console Development Environment.
Once you setup the project, check Custom widgets section in widgets README file to learn more about how to create, build and test your widget.