- This repo shows how to initiate the basic str app for react-wasm app.
Upgrade npm, install Rust and wasm-pack(a one-stop shop for building and working with Rust-generated WebAssembly that you would like to interop with JavaScript).
npm install npm@latest -g
curl https://sh.rustup.rs -sSf | sh
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
git clone https://github.com/201B153/react-wasm-template.git
cargo test
npm run build:wasm
and
npm install
npm run start
This project is licensed under MIT