Open matamune94 opened 4 years ago
nobody can help ?
@matamune94 I am having the same issue. Did you fix it or any solutions out there to achieve this? Thanks :)
Same issue. doesn't work. my config, loaded as a nuxt plugin:
/plugins/vue-lazyload.js
import Vue from 'vue';
import VueLazyload from 'vue-lazyload';
Vue.use(VueLazyload, {
preLoad: 1.3,
error: '/img/loading-grey.gif',
loading: '/img/loading-grey.gif',
attempt: 1,
lazyComponent: true,
observer: true,
});
nuxt config
plugins: [
{ src: '~/plugins/vue-lazyload.js', mode: 'client' },
],
im use nuxt my plugins
nuxt.config
in pages
it load all components not lazy , how can fix ?