Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 871 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 871 Bytes

EHRI Web Components

A set of web components for embedding info derived from the EHRI Portal into web pages.

Example:

<script src="ehri-web-components.js"></script>

<h1>Info about an institution:</h1>
<ehri-item item-id="us-005578"></ehri-item>

Currently, the following item types are supported:

NB: this library is at a very early stage and probably has numerous bugs and issues.

Building

npm install
npm run build

To develop you can use the following to rebuild on file changes:

npm run serve