|
||
---|---|---|
.vscode | ||
public | ||
src-elm | ||
src-tauri | ||
src-wasm | ||
.gitignore | ||
Justfile | ||
LICENSE | ||
README.md | ||
elm.json |
README.md
Tauri (Vanilla) + Elm Counter Example
This is a quick and dirty proof-of-concept for passing messages from Tauri's Rust backend as well as a WebAssembly module to Elm's frontend (and vice versa) without relying on the typical JavaScript ecosystem.
In this project, the counter is incremented via Tauri's Rust backend, decremented via WebAssembly, and reset via Elm.
Dependencies
- Rust (… yes)
- Elm 0.19.1 binary in your
PATH
wasm-pack
(i.e.cargo install wasm-pack
)create-tauri-app
(i.e.cargo install create-tauri-app
)just
(i.e.cargo install just
)
Building
cargo-tauri dev