This project is a template combining Tauri, Electron, and SvelteKit, React for building cross-platform desktop applications with modern web technologies.
pnpm create tauri-app@latest
pnpm install
pnpm outdated
pnpm update --latest
pnpm add -D electron concurrently wait-on
pnpm add cross-env
pnpm add eslint prettier -D
pnpm eslint --init
pnpm add eslint-config-prettier eslint-plugin-prettier -D
pnpm add -D tailwindcss postcss autoprefixer
pnpm dlx tailwindcss init -p
electron
src/app.css
src/+layout.svelte
tailwind.config.js
svelte.config.js
electron
src/app.css
tailwind.config.js
index.html
"scripts": {
"electron:dev": "concurrently "pnpm dev" " wait-on http://localhost:1420 && cross-env NODE_ENV=development electron ./electron/main.js"",
"electron:build": "pnpm build && electron ./electron/main.js"
}
pnpm tauri android init
pnpm tauri ios init
pnpm tauri dev
pnpm tauri android dev
pnpm tauri ios dev
pnpm electon:dev