Simple beer inventory display
The site is a very simple inventory display written in yew. It is built from a csv and allows for searching a filtering with some predefined graphs.
If you don't already have it installed, it's time to install Rust:
https://www.rust-lang.org/tools/install. The rest of this guide assumes a
typical Rust installation which contains both rustup
and Cargo.
To compile Rust to WASM, we need to have the wasm32-unknown-unknown
target
installed. If you don't already have it, install it with the following command:
rustup target add wasm32-unknown-unknown
Now that we have our basics covered, it's time to install the star of the show: [Trunk]. Simply run the following command to install it:
cargo install trunk wasm-bindgen-cli
trunk serve
Rebuilds the app whenever a change is detected and runs a local server to host it.
trunk build --release
👤 Cian Butler butlerx@notthe.cloud
- Website: cianbutler.ie
- Mastodon: @butlerx@mastodon.ie
- Github: @butlerx
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Cian Butler butlerx@notthe.cloud.
This project is MIT licensed.