Create a cross-platform Desktop app with React, TypeScript and Tauri

Prerequisites

TODO react & rust

Setup

Install tauri-cli with Cargo (takes longer):

sh
cargo install tauri-cli --version "^1.0.0"

or via NPM:

sh
yarn add -D @tauri-apps/cli

more here: https://tauri.app/v1/guides/getting-started/tauri-cli

Create the first app

sh
yarn create tauri-app

select ->

Run the app:

sh
yarn tauri dev

Build the app:

sh
yarn tauri build --target x86_64-apple-darwin