matheusgrieger / vue-clazy-load

Component-based lazy (CLazy) load images in Vue.js 2
https://matheusgrieger.github.io/vue-clazy-load/
MIT License
104 stars 5 forks source link

updated to 0.4.1 Cannot read property 'install' of undefined #13

Closed cannap closed 6 years ago

cannap commented 6 years ago

Hi i try to use it via nuxt but since the update it does no longer work :/

cannap commented 6 years ago
import clazyload from 'vue-clazy-load'
Vue.use(clazyload)

//nuxt config

 plugins: [
    '~/plugins/clazyload.js',
]
matheusgrieger commented 6 years ago

As soon as I published the new version I realized what I've done but couldn't fix it in time. My bad! :sweat_smile:

I'll push a new version in a few minutes.

matheusgrieger commented 6 years ago

Please, test again. If the problem persists, let me know!