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
@obitodarky one thing about the CRA is that, file paths other than used in import/export must be relative to public/ folder because after build process, your final js is filled all into index.html by webpack in the CRA....
When browser renders index.html its assumes that there must
'./minion.flr' in the same folder as index.html that is inside of public folder..
So place your minion.flr file in public folder and Enjoy!!!
I'm using my animation in a react app and I used the following code to add my animation
I checked the Component with my React Developer tool and this is what I found in my FlareComponent

The console showed me the following error
Here is my React file for a reference.
You can also find the flare files(I tried it with both Binary and JSON) in the
components
directory of the repoThe text was updated successfully, but these errors were encountered: