https://github.com/hoodie/minimal-wasm-project
minimal wasm project
https://github.com/hoodie/minimal-wasm-project
rust wasm
Last synced: about 1 month ago
JSON representation
minimal wasm project
- Host: GitHub
- URL: https://github.com/hoodie/minimal-wasm-project
- Owner: hoodie
- Created: 2018-10-07T17:01:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T21:07:03.000Z (over 4 years ago)
- Last Synced: 2025-02-10T08:44:14.005Z (3 months ago)
- Topics: rust, wasm
- Language: Rust
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# minimal wasm project
1. install [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/) or via [cargo](https://rustup.rs/) `cargo install wasm-pack`
2. run `wasm-pack build` to build your rust to `./pkg`
3. run `npm install` to install all you need to get this into your browser
4. run `npm run serve` to start webpack
5. open http://localhost:8080now go on and read https://rustwasm.github.io/wasm-bindgen/