百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
T

tauri2-svelte5-shadcn

> 前端框架
开源

一个清洁的桌面应用程序模板,将 Tauri 2 与 Svelte 5 + Shadcn-svelte 相结合,包括用于 Windows、Linux 和 Mac 构建的自动化 CI/CD 工作流程

375 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个清洁的桌面应用程序模板,将 Tauri 2 与 Svelte 5 + Shadcn-svelte 相结合,包括用于 Windows、Linux 和 Mac 构建的自动化 CI/CD 工作流程

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:

  • https://github.com/coreybutler/nvm-windows/releases (Windows: pick the nvm installer)
  • https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating (Linux: run curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash)
  • https://www.rust-lang.org/tools/install
  • https://visualstudio.microsoft.com/vs/community/

Setup

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

This template uses npm as its package manager. Keep package-lock.json committed and use npm ci for reproducible installs in automation.

Useful commands

Start dev server

bash
npm run tauri dev

Build executable

bash
npm run tauri build

Add shadcn-svelte component

bash
npx shadcn-svelte@next add 

Replace `` 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/

Versioning

This project follows Semantic Versioning 2.0.0. Incompatible changes to the template's documented APIs or integration patterns require a major release, backward-compatible capabilities use a minor release, and backward-compatible fixes use a patch release.

License

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

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptboilerplaterustshadcnshadcn-svelte

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架