Skip to main content

Installation

All components are available as a single package, @emoney/kyber.

Update or add the following to your `.npmrc` file:

.npmrc
@emoney:registry = https://proget.ema.emoneyadvisor.com/npm/npm/
npm install --save @emoney/kyber

Including styles

The styles for all components are also available in the @emoney/kyber package or on the eMoney CDN.

When importing into a project using a bundler like Webpack or Rollup, you can import the styles directly into your JavaScript:

import '@emoney/kyber/kyber.min.css';

When using the CDN, you can include the styles in your HTML:

<link rel="stylesheet" href="http://emacontent.com/kyber/<version>/css/kyber.min.css" />

Including secondary styles and themes

Font Awesome and the eMoney econs are not included in the main CSS file. You can include them separately:

<link rel="stylesheet" href="https://emacontent.com/libs/econs/0.2/style.css" />

The Simple Premium theme is available as a separate file on the eMoney CDN. You can include it in your HTML:

<link rel="stylesheet" href="http://emacontent.com/kyber/<version>/css/simple-premium.min.css" />