Skip to content

Commit

Permalink
Merge pull request #3 from blockchain-certificates/feat/initial-deploy
Browse files Browse the repository at this point in the history
feat(NPM): initial deploy and instructions
  • Loading branch information
Julien Fraichot authored Sep 11, 2018
2 parents 47a9d8f + 9a70810 commit e2493d6
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,24 @@ A standalone universal viewer & verifier for blockcerts credentials
The component is developed with Polymer 3.
To use the component in your project, install it via:

- TBD
```
npm i blockcerts-verifier
```

Then just add it into your project with:

```html
<script type="module" src="node_modules/blockcerts-verifier/dist/main.js"></script>

<blockcerts-verifier></blockcerts-verifier>
```

You might need to add the webcomponent loader depending on the browsers you are targeting.

```html
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
```

Have a look at the [Demo Pages](/demo) to see examples of the usage

## API Usage
Expand Down

0 comments on commit e2493d6

Please sign in to comment.