105156542e | ||
---|---|---|
.. | ||
src | ||
www | ||
Cargo.toml | ||
README.md | ||
Web.toml |
README.md
typed-html WASM example
Simple example of compiling app consuming typed-html to WebAssembly.
Configure & Build
Make sure you have cargo-web
installed: Instructions
Build using cargo web build
Note: There may be an issue that can be worked around as described here, due to a bug in stdweb
Serve Through HTTP
We've also provided some simple scaffolding to easily serve the app through http:
$ cd www
$ yarn
$ node index.js
If the build is in a different directory, than the default, you can provide the directory as an argument:
$ node index.js /path/to/build