Skip to content

Commit

Permalink
update: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hilongjw committed Mar 19, 2017
1 parent c431e73 commit 2ac869e
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,27 @@ Vue module for lazyloading images in your applications. Some of goals of this pr

# Installation

## npm

```bash

# npm
$ npm install vue-lazyload

```

## CDN

CDN: [https://unpkg.com/vue-lazyload/vue-lazyload.js](https://unpkg.com/vue-lazyload/vue-lazyload.js)

```html
<script src="https://unpkg.com/vue-lazyload/vue-lazyload.js"></script>
<script>
Vue.use(VueLazyload)
...
</script>

```

# Usage

main.js
Expand Down

0 comments on commit 2ac869e

Please sign in to comment.