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
I am working on a project created with create-react-app and would like to embed Flare animation. I am stuck because looking at the example, to initialize Graphics object, I have to supply a build folder
this._Graphics.initialize("../build/", handler);
I don't think webpack will understand this. Is there another way to initialize or an example to use JS framework like React, Angular with Flare?
The text was updated successfully, but these errors were encountered:
Hi @chatpongs this is currently due to the wasm file for Skia being deployed manually instead of webpacked as a resource. While the code is webpacked, we don't have all the dependencies webpacked with it. You could look into implementing something like this: https://github.com/ballercat/wasm-loader
In the meantime, we'll add to our roadmap a plan for a webpacked npm package that should be turn key.
Feel free to make contributions to improve this, we're a tiny team and contributions are extremely welcomed.
I am working on a project created with create-react-app and would like to embed Flare animation. I am stuck because looking at the example, to initialize Graphics object, I have to supply a build folder
I don't think webpack will understand this. Is there another way to initialize or an example to use JS framework like React, Angular with Flare?
The text was updated successfully, but these errors were encountered: