In this project I try to show how to use Tauri application with multiple technologies as:
- VueJS with TypesScript
- Wasm (Rust)
- Vite for the client bundle
- Go and Rust as backend thanks to ffi
- Install
rsw
cargo install rsw
- Install wasm-pack
npm run watch
in the first and npm run tauri:dev
in the second. The order of execution is important, do not close the first window!
-
Javascript part:
- package.json > "@tauri-apps/api"
-
Rust part:
cd src-tauri
cargo update -p tauri
Take a look to: https://github.com/tcastelly/vue-tauri-vite/blob/master/.github/workflows/release.yml
Increase version of
package.json > version
src-tauri/Cargo.toml > version
src-tauri/tauri.conf.json > version
npm run tauri:build