cargo install wasm-pack
cargo new wasm-lib --lib
cd wasm-lib/
# --target bundler(default) - for bundlers like Webpack, Parcel, or Rollup.
# --target web - for the web as ECMAScript module.
# --target no-modules - for the web without ECMAScript module.
# --target nodejs - for Node.js
wasm-pack build --target web --out-dir pkg
npm run build:wasm
npm install ./wasm-lib/pkg
npm run start
npm run dev
npm run build
npx serve ./build-
Notifications
You must be signed in to change notification settings - Fork 0
fishjar/react-wasm-demo
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published