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:
- Archival Institutions
- Archival Descriptions
- Authorities (People, Corporate Bodies etc)
- Country Reports
NB: this library is at a very early stage and probably has numerous bugs and issues.
npm install
npm run build
To develop you can use the following to rebuild on file changes:
npm run serve