Skip to content

Commit

Permalink
Merge pull request #11 from cylim/master
Browse files Browse the repository at this point in the history
Add unpkg install instructions
  • Loading branch information
robjtede committed Dec 12, 2018
2 parents c82f5e7 + 093ff4e commit ca2ab1f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -29,11 +29,18 @@ You will need to include any polyfills for browsers that do not support the Web

## Usage

Import the HTML file in the `<head>` after [installing](#install).
Import the HTML file in the `<head>`.

With Package Manager: please refer to [installing](#install)
```html
<link rel="import" href="./node_modules/img-exif/img-exif.html">
```

Without npm for managing web component packages
```html
<link rel="import" href="https://unpkg.com/img-exif@latest/img-exif.html">
```

Use the tag on your page.
```html
<img-exif src="./your-image.jpg"></img-exif>
Expand Down

0 comments on commit ca2ab1f

Please sign in to comment.