When I try to add this example to the camunda modeler as a plugin, I don’t see it loading. Is it possible to use this as a plugin for camunda modeler at all? Just a confirmation of whether the approach is right or not would help as well.
Btw, I have added the index.js file which loads the bundled file as the script and included the plugin directory under ~/Library/Application Support on macOS/camunda-modeler/plugins.
Element templates are something else. They are about the implementation of certain BPMN elements such as Service Tasks, but not about the custom elements.