Scaffold a Tauri v2 project with create-tauri-app, configure project structure, and set up static export for frontend frameworks. Use when creating a new project, understanding the Tauri project structure, or configuring SSG/static export for Next.js or SvelteKit.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
npm create tauri-app@latest my-app -- --template react-ts
my-app/
├── src/ # Frontend code
├── src-tauri/
│ ├── src/main.rs # Rust entry point
│ ├── Cargo.toml # Rust dependencies
│ ├── tauri.conf.json # Tauri configuration
│ └── capabilities/ # Permission files
└── package.json # Frontend dependencies
output: 'export' in next.config.js@sveltejs/adapter-statictauri.conf.json:
{ "build": { "frontendDist": "../dist" } }
npm run tauri dev and confirming the window opensCargo.toml as needed for your app featurestauri scaffold, create-tauri-app, project structure, static export, SSG