Open KindSpidey opened 7 months ago
they are not gonna answer xDDD
It may be because the path to the animation is incorrectly specified.
I had a problem that I specified a relative path instead of an absolute one. For example, assets/animation.json
instead of /assets/animation.json
. Missing leading slash (/
)
Hey, guys! I am using lottie-web library in my Vue 3 project.
When I use my .json animation as already imported in file, this way, everything works:
But when I'm trying to do absolutely same thing, but using path instead of animationData, I'm getting error
Why?
The code: