Skip to content

A Rust WebAssembly Website example for practising english for chinese.

License

Notifications You must be signed in to change notification settings

rayylee/keypress

Repository files navigation

KeyPress

A Rust WebAssembly Websit example for practising english for chinese.

How to build

The KeyPress is built with trunk. You can install it with the following command:

# Install WebAssembly target
# The compilation target for browser-based WebAssembly is called "wasm32-unknown-unknown".
# The following command will add this target to your development environment.
rustup target add wasm32-unknown-unknown

# Install trunk and wasm-bindgen-cli
# At some point in the future, trunk will automatically download wasm-bindgen
cargo install trunk wasm-bindgen-cli

Build and run is as easy as running a single command:

# build
cargo build --release
# build and serve
trunk serve --release

Example

You can visit in the website https://rayylee.github.io/keypress

screenshot

Acknowledgments

About

A Rust WebAssembly Website example for practising english for chinese.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published