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.
Note: This package was initially published as @openmrs/esm-refapp-navigation
. It was renamed to @openmrs/esm-refapp-navigation-app
for it to be compatible with Latest SPA
Pre-Requesties
NodeJS
How to Setup?
- Run
npm install
to install all the dependencies - Run
npm start -- --https --port 8082
to start application in dev mode. - If you are using with OpenMRS Micro Frontend, update/add the port:url in
import-map.json
file ofopenmrs-esm-root-config
. - Run
npm run build
for 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.