Simple boilerplate for Tauri 2 with Svelte 5 (and shadcn-svelte).
In order to run this boilerplate, you need to install Node (via nvm) 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:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
)git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY_NAME.git
cd YOUR_REPOSITORY_NAME
npm i
npm run tauri dev
npm run tauri build
npx shadcn-svelte@next add <component>
Replace <component>
with the name of the component you want to add (e.g., button, card, dialog). You can find the full list of available components at https://next.shadcn-svelte.com/docs/components.
https://next.shadcn-svelte.com/
This project is licensed under the MIT License - see the LICENSE file for details.