Skip to content

Commit

Permalink
Merge pull request #25 from LukasDrgon/patch-1
Browse files Browse the repository at this point in the history
Add jsDelivr links
  • Loading branch information
thinker3197 authored Oct 22, 2017
2 parents e7ce4ca + 99276e9 commit 2fc3b8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,20 @@ import progressively from 'progressively'
var progressively = require('progressively')
```

The [UMD](https://github.com/umdjs/umd) build is also available on [unpkg](https://unpkg.com):
The [UMD](https://github.com/umdjs/umd) build is also available on CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/progressively/dist/progressively.min.js"></script>
<!-- or -->
<script src="https://unpkg.com/progressively/dist/progressively.min.js"></script>
```
You can find the library on `window.progressively`.

You also need to embed the css file at your page.

```html
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/progressively/dist/progressively.min.css">
<!-- or -->
<link rel="stylesheet" href="https://unpkg.com/progressively/dist/progressively.min.css">
```

Expand Down

0 comments on commit 2fc3b8e

Please sign in to comment.