{"size": 427, "ext": "js", "max_stars_repo_path": "src/plugins/vue-lazy-load/index.js", "max_stars_repo_name": "pIay-it/times-up-web", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/plugins/vue-lazy-load/index.js", "max_issues_repo_name": "pIay-it/times-up-web", "max_issues_repo_issues_event_min_datetime": "2021-12-09T19:28:59.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-13T17:49:35.000Z", "max_forks_repo_path": "src/plugins/vue-lazy-load/index.js", "max_forks_repo_name": "pIay-it/times-up-web", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 25.1176470588, "max_line_length": 53, "alphanum_fraction": 0.5433255269}
import VueLazyLoad from "vue3-lazyload";
import loading from "@/assets/gif/image-loader.gif";
import error from "@/assets/png/image-not-found.png";

export function setupVueLazyload(app) {
    app.use(VueLazyLoad, {
        loading,
        error,
        attempt: 1,
        silent: true,
        lifecycle: {
            loading: () => null,
            error: () => null,
            loaded: () => null,
        },
    });
}