Navbar for hackathon
npm install
- Run it on a certain port,
npm start -- --https --no-inline --port 8083
- Go to https://openmrs-spa.org/openmsr/spa/login in a browser.
- Now trust all insecure localhost requests.
- Open up the browser console and run the following commands:
importMapOverrides.addOverride('@hackathon/navbar', 'https://localhost:8083/navbar.js');
- Refresh the page.
- Login with username
admin
and passwordadmin123
. - Modify something in the nav bar
- In the browser, refresh the page. You should see your code modified.