This project combines React with WebAssembly (Wasm) for a high-performance web application. It utilizes Rust for Wasm module development and leverages wasm-pack
for building and integrating Wasm into the web.
-
Navigate to the
wasm
directory:cd wasm
-
Build the Rust code (execute in the
wasm
directory):cargo build
-
Build the Wasm module with the web target (execute in the
wasm
directory):wasm-pack build --target web
-
Return to the project's root:
cd ..
-
Install project dependencies:
yarn
-
Run the development server:
yarn run dev