Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import it on vue 2 #106

Open
rexdarelandig opened this issue Feb 22, 2022 · 6 comments
Open

Cannot import it on vue 2 #106

rexdarelandig opened this issue Feb 22, 2022 · 6 comments

Comments

@rexdarelandig
Copy link

I followed the import
import VLazyImage from "v-lazy-image/v2";

and got this
Module not found: Error: Package path ./v2 is not exported from package

@hzjsti
Copy link

hzjsti commented Mar 2, 2022

The same for me... Going back to version 1.4.0 fixes the problem of course.

@eddieferrer
Copy link

With Vue 2 you should try:
import VLazyImage from 'v-lazy-image/v2/v-lazy-image.es';

@ilyen85
Copy link

ilyen85 commented Apr 11, 2022

With Vue 2 you should try: import VLazyImage from 'v-lazy-image/v2/v-lazy-image.es';

Hi, sorry but this isn't working for me.

I have tried:

import VLazyImage from "v-lazy-image/v2/v-lazy-image.es"
import VLazyImage from "v-lazy-image/v2/v-lazy-image.js"
import VLazyImage from "v-lazy-image/v2/v-lazy-image.mjs"

None of these have worked

@AhmedSayedSk
Copy link

Same issue, any updates?

@MooseSaeed
Copy link

Same

1 similar comment
@quangklynk
Copy link

Same

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

No branches or pull requests

7 participants