You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I'm trying to do absolutely same thing, but using path instead of animationData, I'm getting error
lottie-web.js?v=81bb1d13:981 Uncaught DOMException:
Failed to read the 'responseText' property from 'XMLHttpRequest':
The value is only accessible if the object's 'responseType' is '' or 'text' (was 'json').
at formatResponse (http://localhost:5173/node_modules/.vite/deps/lottie-web.js?v=81bb1d13:981:29)
at xhr.onreadystatechange (http://localhost:5173/node_modules/.vite/deps/lottie-web.js?v=81bb1d13:996:38)
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:
The text was updated successfully, but these errors were encountered: