@kapsiki/esm-styleguide-app

0.0.7 • Public • Published

@kapsiki/esm-styleguide-app

A frontend module for adding custom style to Kapsiki Healthcare 3.x apps and Distributions.

Under the Hood

The purpose of this microfrontend is to inject the custom style into the <head></head> tag of the application's HTML file. Using a script, it creates a <link rel="" href=""></link> tag whose href="" attribute points either:

  • to the CSS file mandara.css build result of the SCSS files
  • the link to a css file specified in OpenMRS configurations.

Getting Started

# Clone the repository
git clone https://github.com/kapsiki/kapsiki-esm-styleguide-app.git

# to install dependencies
yarn

# to run the dev server
yarn start

# OR to start on a specified port eg 5000
yarn start --port 5000

Once it is running, a browser window should open with the OpenMRS 3 application. Log in and then navigate to /openmrs/spa/home.

Running tests

yarn run test

Readme

Keywords

Package Sidebar

Install

npm i @kapsiki/esm-styleguide-app

Weekly Downloads

2

Version

0.0.7

License

MPL-2.0

Unpacked Size

17.5 MB

Total Files

146

Last publish

Collaborators

  • kapsiki