Rust to wasm
This is the code snippets of Compiling from Rust to WebAssembly without publishing to NPM registry.
Try running:
- Building the package
Building the package to pkg
sub-directory:
wasm-pack build --scope mynpmusername
- Serving the site
cd site/
npm install
npm run serve