# hilongjw/vue-lazyload

A Vue.js plugin for lazyload your Image or Component in your application.

Repository: https://github.com/hilongjw/vue-lazyload
Canonical: https://ross.abutalabs.com/products/vue-lazyload
Homepage: http://hilongjw.github.io/vue-lazyload/
Language: JavaScript
License: MIT
License Family: permissive
Topics: vue-lazyload, vue, lazyload
Last push: 2023-06-30T06:57:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3884, "days_push": 1160, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7993, forks 864 (observed 2026-08-28T04:10:11.407131+00:00)

## What it is
A lightweight Vue.js plugin that lazy-loads images and components via a v-lazy directive, with loading/error placeholders and CSS state classes. It supports Vue 1.x/2.x with a separate 3.x branch for Vue 3.

## Use cases
- lazy load images in a vue app
- defer loading offscreen images to speed up page load
- show a loading placeholder while images load
- lazy load vue components when scrolled into view
- add error fallback images for failed image loads

## When to choose
- you use Vue 1.x, 2.x, or 3.x and want a mature, tiny lazy-loading directive
- you need loading/error placeholder images and CSS state hooks
- you want lazy loading for both images and components

## When to avoid
- you use React, Angular, or another non-Vue framework
- you need native browser lazy loading only (loading="attr" may suffice)
- you need advanced IntersectionObserver-based features beyond simple lazy loading

## Facets
- artifact type: plugin
- maturity: maintenance
- function: image-processing, ui-components, frontend-framework
- domain: web-development, frontend, performance
- platform: browser
- tags: vue-plugin, lazy-loading, vue-directive, image-optimization, nodejs, javascript

## Member repositories
- hilongjw/vue-lazyload (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:11.407131+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:32:33.373269+00:00, confidence not recorded.
  - readme: https://github.com/hilongjw/vue-lazyload (fetched 2026-08-28T04:10:11.407131+00:00, sha 7ba082f34991)
  - homepage: http://hilongjw.github.io/vue-lazyload/ (fetched 2026-08-29T08:29:46.433578+00:00, sha aaee5e46a577)
  - registry_npm: https://registry.npmjs.org/vue-lazyload (fetched 2026-08-29T08:29:46.443034+00:00, sha 6281e2536e74)
- Data as of 2026-08-30T08:39:29.467469+00:00.
