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

in v1.3.2, need to use import.default #37

Closed
mifi opened this issue Jul 14, 2021 · 1 comment
Closed

in v1.3.2, need to use import.default #37

mifi opened this issue Jul 14, 2021 · 1 comment

Comments

@mifi
Copy link
Owner

mifi commented Jul 14, 2021

Seems like the cloneDeep addition exposed an issue when using import(), where the imported object has a default property with the animationData.

#11 (comment)

seems like the vue-lottie project has the same issue chenqingspring/vue-lottie#20

@mifi
Copy link
Owner Author

mifi commented Jul 14, 2021

This should be fixed in 1.3.3, so no longer need to use .default on imported json after that

@mifi mifi closed this as completed Jul 14, 2021
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

1 participant