raff
(Rafal Korytkowski)
April 3, 2017, 12:06pm
18
@mogoodrich , I updated instructions for building https://github.com/openmrs/openmrs-contrib-uicommons/blob/master/README.md#production-build and developing components at https://github.com/openmrs/openmrs-contrib-uicommons/blob/master/README.md#demo-application
Unfortunately, we do not yet use npm for widgets in coreapps so you need to manually copy the resulting min.js bundle into coreapps. I plan to fix that as explained in the other thread you started:
The widgets should be really moved to a separate js project (still inside coreapps) so they can be developed and tested with js tooling (webpack, babel, jasmine, etc.). It will be similar to how we develop OWAs in modules, see e.g. https://github.com/openmrs/openmrs-module-openconceptlab/tree/master/owa
I may be able to change that by the end of this week. To be honest I wasn’t expecting others to pick up our work on widgets that soon It’s great to see that though!