tauri-v2
Installation
SKILL.md
Tauri v2 Development Skill
Tauri v2 lets you build tiny, fast apps for desktop (macOS, Windows, Linux) and mobile (iOS, Android) by combining a web frontend with a Rust backend. Apps use the system's native webview instead of bundling a browser engine, so a minimal app can be under 600KB.
Default stack in this skill: React + Vite + TypeScript frontend, Rust backend. Adapt if the user specifies a different framework.
Quick Reference
- Config file:
src-tauri/tauri.conf.json - Rust entry:
src-tauri/src/lib.rs(ormain.rs) - Capabilities:
src-tauri/capabilities/*.json - Permissions:
src-tauri/permissions/*.toml - JS API:
@tauri-apps/api - CLI:
@tauri-apps/cli(npm) ortauri-cli(cargo)
For detailed reference on configuration, plugins, permissions, and mobile setup, see the references/ directory. Read the relevant file when you need specifics beyond what's covered here.