This is essentially a react-ts and tauri template but with a folder structure i prefer more.
Have npm and rust installed and then install tauri-cli and cargo-commander:
cargo install cargo-commander tauri-cli
Now run the setup script:
cargo cmd setup
Follow the installation guide and then simply run:
cargo cmd dev
Your tauri app should launch in dev mode.
To build your app run:
cargo cmd build
To publish your app, on github go to releases and create a release and a tag with the tagname starting with
v*
and the ci should start building the app for ubuntu, mac, and windows and add it to the release
root > cargo.toml
root > crates > [
backend > [
Cargo.toml, tauri.conf.json
],
frontend > [
index.html, package.json
]
]