• This repository has been archived on 24/Mar/2023
  • Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Rust
  • License
    MIT License
  • Created almost 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Demo project for the Tauri + Yew tutorial

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

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