matrix-rust-sdk/crates/matrix_sdk/examples/wasm_command_bot
Damir Jelić 041ef66c01 chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
..
src chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
.gitignore chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
Cargo.toml chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
README.md chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
index.js chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
package.json chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00
webpack.config.js chore: Move the crates into a subfolder 2021-09-14 11:59:21 +02:00

README.md

Example usage of matrix-rust-sdk from WASM

You can build the example locally with:

npm install
npm run serve

and then visiting http://localhost:8080 in a browser should run the example!

This example is loosely based off of this example, an example usage of fetch from wasm-bindgen.