I've cloned noflo-ui from github and am running locally but cannot figure out how to add/remove components from the noflo-search box. Ideally, I would like to remove all components from the search results and show only a the ones from my component libraries.
The readme states that libraries can be added by modifying preview/component.json
, but removing libraries seems to have no effect. After reading through the docs on components and the spec for component.js I tried editing /component.json
, and was also unable to change the results which show in the search box. Furthermore, I can't find any documentation on the .noflo
property used in components.json
.
Am I doing something wrong or is removing default components not an option?
I assume you are using the bundled noflo-browser runtime (iframe). Did you rebuild after editing preview/components.json
?
An easier way to use custom component libraries is to do a custom runtime build, for instance based on noflo-app, host it locally, and switch the runtime URL to point there. This also works with app.flowhub.io so no need to build & run noflo-ui locally.