Skip to content

tcastelly/vue-tauri-vite

Repository files navigation

Tauri Application

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

Launch dev

  • Install rsw

    cargo install rsw

  • Install wasm-pack

⚠️ Note: Open two terminal windows, execute 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!

Update Dependencies

Release build

Github Actions

Take a look to: https://github.com/tcastelly/vue-tauri-vite/blob/master/.github/workflows/release.yml

Manual release

Increase version of

package.json > version

src-tauri/Cargo.toml > version

src-tauri/tauri.conf.json > version

npm run tauri:build