Select and configure a frontend framework for Tauri v2 with static export compatibility. Use when choosing between Vite, Next.js, Nuxt, SvelteKit, or other frameworks, configuring SSG/static export, or aligning output paths with Tauri asset loading.
ALWAYS use this skill when the user mentions:
Trigger phrases include:
npm create tauri-app@latest -- --template react-ts # or vue-ts, svelte-ts
next.config.js:
module.exports = { output: 'export', images: { unoptimized: true } };
import adapter from '@sveltejs/adapter-static';
export default { kit: { adapter: adapter({ fallback: 'index.html' }) } };
tauri.conf.json with the framework's build output:
{ "build": { "frontendDist": "../out" } }
index.html and all assets load correctly in Tauritauri frontend, vite, next.js, nuxt, sveltekit, ssg, static export