mirror of
https://github.com/LukasDzenk/tauri2-svelte5-shadcn.git
synced 2026-05-28 14:07:37 +00:00
A clean desktop application template that combines Tauri 2 with Svelte 5 + Shadcn-svelte, including automated CI/CD pipelines for Windows, Linux, and Mac builds.
- Svelte 49.7%
- TypeScript 29%
- CSS 11.9%
- JavaScript 4.1%
- Rust 3.5%
- Other 1.8%
| .github | ||
| .vscode | ||
| src | ||
| src-tauri | ||
| static | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| bun.lockb | ||
| CHANGES.md | ||
| components.json | ||
| LICENSE | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| svelte.config.js | ||
| tailwind.config.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||
Tauri 2 Svelte 5 Boilerplate
Simple boilerplate for Tauri 2 with Svelte 5 (and shadcn-svelte) using Bun runtime.
Requirements
In order to run this boilerplate, you need to install Bun and Rust. If you are on Windows I also recommend installing MSVC before the other dependencies (make sure to check the "Desktop development with C++" workload).
Some useful links:
- https://bun.sh/docs/installation
- https://www.rust-lang.org/tools/install
- https://visualstudio.microsoft.com/vs/community/
Setup
git clone https://github.com/alysonhower/tauri2-svelte5-shadcn.git
cd tauri2-svelte5-shadcn
bun i
Useful commands
Start dev server
bun run tauri dev
Build executable
bun run tauri build
Other links
Svelte 5
Tauri 2
shadcn-svelte
https://next.shadcn-svelte.com/
Note: Boilerplate tested on Windows 11 only.
License
This project is licensed under the MIT License - see the LICENSE file for details.