1.0.0 • Published 5 years ago
@openmrs/esm-refapp-navigation v1.0.0
openmrs-esm-refapp-navigation
A Microfrontend navbar based on the RefApp, built using RefApp styles.
Note that this is incompatible with the standard Microfrontends styleguide.
Pre-Requesties
NodeJS
How to Setup?
- Run
npm installto install all the dependencies - Run
npm start -- --https --port 8082to start application in dev mode. - If you are using with OpenMRS Micro Frontend, update/add the port:url in
import-map.jsonfile ofopenmrs-esm-root-config. - Run
npm run buildfor production build.
Features
Navigation bar has below features.
- Logo
- User Login menu & redirection on unauthenticated user
- Logout
Usage
Please refer wiki on how to use it in OpenMRS microfrontend environment.
Sample Screenshots
