Skip to content
A javascript module for setting up and configuring your SPA
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src fixed typo for array push function Jun 6, 2019
.babelrc Initial implementation May 17, 2019
.eslintrc Switching to prettier in eslint Jun 9, 2019
.gitignore Initial implementation May 17, 2019
.travis.yml Switching to prettier in eslint Jun 9, 2019
README.md
package-lock.json Switching to prettier in eslint Jun 9, 2019
package.json Switching to prettier in eslint Jun 9, 2019
webpack.config.js Fixing bug in deployment and problem with npm start. Jun 3, 2019

README.md

openmrs-esm-root-config

Build Status

@openmrs/root-config

A javascript module for setting up and configuring your SPA. See openmrs-rfc-frontend for what this project is and how it works.

Local development

npm install
npm start <port-number> # e.g., npm start 8080

Then go to a deployed environment (such as https://openmrs-spa.org/openmrs/spa) and run the following in the browser console:

importMapOverrides.addOverride(
  "@openmrs/root-config",
  "http://localhost:<port-number>/root-config-dist.js"
);
You can’t perform that action at this time.