Skip to content

Conversation

anc95
Copy link

@anc95 anc95 commented Nov 24, 2022

Hey, the error detail is in #502

I dive into the issue, it's because when we import vue-lazyload

import Lazyload from 'vue-lazyload'

console.log(Lazyload)

will get

{
  default: {
    install
  }
}

if follow the instruction in readme

App.use(Lazyload)

it can't be registered in Node env

So I modified the export from default export to named export to avoid this happen.

Please review, Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant