/tauri-yew-demo

Demo project for the Tauri + Yew tutorial

Primary LanguageRustMIT LicenseMIT

Tauri + Yew Demo

This is a small demo to accompany the Tauri + Yew tutorial

https://dev.to/stevepryde/create-a-desktop-app-in-rust-using-tauri-and-yew-2bhe

Installation

rustup target add wasm32-unknown-unknown
cargo install trunk
cargo install wasm-bindgen-cli
cargo install tauri-cli --version ^1.0.0-beta

Dev Server

After installing the above, you should be able to run it with

cargo tauri dev

Building the app

You can do a release build with

cargo tauri build

This should create an installer in src-tauri/target/release/bundle/

Further reading

Tauri: https://tauri.studio/en/docs/get-started/intro

Yew: https://yew.rs/docs/getting-started/introduction