Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A few examples of implementing Rive animations on the web! Includes examples with both the JS and WASM variants.

[Rive's JS runtime](https://github.com/rive-app/rive-js) is the simplest way to get your animations running in the web. Alternatvely, make use of [Rive's WASM runtime](https://github.com/rive-app/rive-canvas) for lower level control of your animations.
[Rive's JS runtime](https://github.com/rive-app/rive-wasm/tree/HEAD/js) is the simplest way to get your animations running in the web. Alternatvely, make use of [Rive's WASM runtime](https://github.com/rive-app/rive-wasm/tree/HEAD/wasm) for lower level control of your animations.

Currently, there are theee sample animations:

Expand Down Expand Up @@ -61,4 +61,4 @@ The page will reload if you make edits and you will also see any lint errors in

* Rive's web runtime uses Wasm to create a small, performant engine. Not all web bundlers play nicely with Wasm; if you run into difficulties, check your pipeline's documentation. In this example, we load the Wasm file from the *unpkg* cdn, but could just as easily load it from your hosting environment. Take a look at the [RiveLoader.js](https://github.com/alxgibsn/rive-examples-react/blob/main/src/RiveLoader.js) source file.

* If you get an error along the lines of ```Module not found: Can't resolve 'fs'``` and you're using webpack, try adding ```"node": { "fs": "empty" }``` to you config (*webpack.config.js*).
* If you get an error along the lines of ```Module not found: Can't resolve 'fs'``` and you're using webpack, try adding ```"node": { "fs": "empty" }``` to you config (*webpack.config.js*).