Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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.

License

Notifications You must be signed in to change notification settings

alysonhower/tauri2-svelte5-shadcn

Repository files navigation

Tauri 2 Svelte 5 Shadcn

Simple boilerplate for Tauri 2 with Svelte 5 (and shadcn-svelte).

Requirements

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:

Setup

  1. Click the "Use this template" button on GitHub.
  2. Clone your newly created repository:
    git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY_NAME.git
    cd YOUR_REPOSITORY_NAME
    
  3. Install dependencies:
    npm i
    

Useful commands

Start dev server

npm run tauri dev

Build executable

npm run tauri build

Add shadcn-svelte component

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.

Other links

Svelte 5

https://svelte.dev/docs

Tauri 2

https://tauri.app/start/

shadcn-svelte

https://next.shadcn-svelte.com/

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /