Info |
---|
This is an experimental feature, currently available on the branch Bahmni-IPD-master of openmrs-module-bahmniapps. Some details may change over time, but the core strategy would remain the same |
Table of Contents |
---|
This wiki offers a comprehensive guide on creating React components within the openmrs-module-bahmniapps, considering that AngularJS has reached the end of its support lifecycle. We'll also delve into how we accomplished this in the clinical module and explore possibilities for extending these techniques to other modules within Bahmni.
...
Code Block |
---|
<link rel="stylesheet" href="../micro-frontends-dist/next-ui.min.css"/>
<script src="../micro-frontends-dist/next-ui.min.js"></script> |
And while adding the next-UI components for the first time to a angular module, make sure the React and React DOM dependency files are linked in the corresponding module’s index.html file
Code Block |
---|
<script src="../components/react/react.production.min.js"></script>
<script src="../components/react-dom/react-dom.production.min.js"></script> |
Translations for Next-UI
...