# vue-lazyload-directive

> vue-lazyload-directive

Latest version **1.0.0** (published 2017-03-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-lazyload-directive
pnpm add vue-lazyload-directive
yarn add vue-lazyload-directive
bun add vue-lazyload-directive
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-03-11 |
| First published | 2017-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | shmy |
| Maintainers | shmy |
| Keywords | vue, vue-directive, vue-plugin, keep-scroll |

## Links

- npm: https://www.npmjs.com/package/vue-lazyload-directive
- Repository: https://github.com/shmy/vue-lazyload-directive
- Homepage: https://github.com/shmy/vue-lazyload-directive#readme
- Issues: https://github.com/shmy/vue-lazyload-directive/issues
- npm.io page: https://npm.io/package/vue-lazyload-directive

## Recent versions

- 1.0.0 (latest) — 2017-03-11

## README

**支持vuejs(version >= 2.0)图片懒加载**
[![npm](https://img.shields.io/npm/v/vue-lazyload-directive.svg?style=flat-square)](https://www.npmjs.com/package/vue-lazyload-directive)
[![npm](https://img.shields.io/npm/dt/vue-lazyload-directive.svg?style=flat-square)](https://www.npmjs.com/package/vue-lazyload-directive)
[![license](https://img.shields.io/github/license/shmy/vue-lazyload-directive.svg?style=flat-square)](https://github.com/shmy/vue-lazyload-directive/blob/master/LICENSE.md)
[![GitHub stars](https://img.shields.io/github/stars/shmy/vue-lazyload-directive.svg?style=social&label=Star)](https://github.com/shmy/vue-lazyload-directive)

### **Installation**
+ via **CDN**
``` html
  <script src="https://unpkg.com/vue-lazyload-directive/dist/vue-lazyload-directive.min.js"></script>
```

+ via **NPM**
```bash
$ npm install vue-lazyload-directive --save # Or
$ yarn add vue-lazyload-directive
```

```javascript
  // main.js
  import Vue from "vue";
  import vueLazyloadDirective from "vue-lazyload-directive";
  Vue.use(vueLazyloadDirective, [options]); // 可选参数

```
#### Simple example
See `./test/inedx.html`

---
_Source: https://npm.io/package/vue-lazyload-directive · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
