整合 Tauri、SolidJS、TypeScript、TailwindCSS 与 Shadcn-Solid 组件
tauri-solid-tailwind-shadcn — SolidJS 启动器模板
作者 ACRae
基于 Tauri、SolidJS、TypeScript、TailwindCSS 与 Shadcn-Solid 的跨平台桌面应用启动模板,预配置 Vite 与热更新。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
预配置 Vite 构建与热模块替换(HMR)
开发时网页视图改动自动刷新,Rust 改动自动重编译并重启
构建产物为单一二进制,安装包输出到 src-tauri/target/release/bundle/
采用 MIT 许可,允许免费使用、修改、商用与分发
模板详细介绍
这是一个用于构建跨平台桌面应用的启动模板,把 Tauri 与 SolidJS 组合在一起,并预配置了 Vite、TypeScript、TailwindCSS 以及 Shadcn-Solid 组件支持,同时带有热模块替换(HMR)。README 说明其目标是让跨平台应用开发更省去初始配置工作。
模板在开发阶段通过 npm run tauri dev 启动,网页视图中的改动会自动刷新,Rust 文件的修改会触发重新编译并重启应用;首次运行需要等待 Rust 包管理器下载并编译依赖,之后会因缓存而加快。构建阶段使用 npm run tauri build,前端产物输出到 dist 目录,并与 Rust 代码一起打包为单一二进制文件,二进制位于 src-tauri/target/release/[app name],安装包位于 src-tauri/target/release/bundle/。
使用前需要按 Tauri 官方文档安装对应平台的系统依赖。项目以 MIT 许可发布,可免费使用、修改、商用和分发,但需保留版权与许可声明;仓库中的截图、图标等第三方素材需单独核对其许可,外部服务费用也不在代码许可范围内。
适合你的项目吗?
适用场景
- 需要为桌面端快速搭建 Tauri + SolidJS 项目骨架
- 希望在 SolidJS 项目中直接使用 Shadcn-Solid 组件与 TailwindCSS 样式
- 需要同时开发前端界面与 Rust 后端逻辑,并依赖自动重编译的桌面应用
适合人群
- 熟悉 SolidJS 与 TypeScript 的前端开发者
- 需要跨平台桌面应用启动模板的个人或团队
- 接受按 Tauri 官方文档自行安装系统依赖的使用者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
使用 npx degit ACRae/tauri-solid-tailwind-shadcn tauri-app 克隆模板并进入目录
- 2
执行 npm install 安装依赖,也可改用 pnpm、yarn 等包管理器
- 3
按 Tauri 官方 Prerequisites 文档安装对应平台的系统依赖
- 4
开发运行 npm run tauri dev,首次会因 Rust 依赖编译耗时较长
- 5
构建使用 npm run tauri build,产物位于 src-tauri/target/release/ 下
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 使用前需按 Tauri 官方文档安装对应平台的系统依赖(如 Rust 工具链、系统库等),否则无法开发或构建。
- 首次运行 npm run tauri dev 时需联网下载并编译 Rust 依赖,耗时较长;后续因缓存才会加快。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
[Tauri Prerequisistes](https://tauri.app/start/prerequisites/) - In order to use tauri you might need to install some dependencies.
README 原文
https://github.com/ACRae/tauri-solid-tailwind-shadcn/blob/main/LICENSEhttps://github.com/ACRae/tauri-solid-tailwind-shadcn/blob/main/README.mdThe initial execution of this may take a few minutes, as the Rust package manager downloads and compiles all necessary packages.
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 62 / 100
- 技术栈
- SolidJS
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-02-04
- 截图检查日期
- 2026-10-02
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 SolidJS。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 825fb6bacec7efaf0b7dca1329bdf67702219400f5b4d5feeb2053b4609a48c2
2026-10-02T18:08:02.295Z
来源文件 / 仓库# [Tauri](https://v2.tauri.app/) + [SolidJS](https://docs.solidjs.com/) + [TypeScript](https://www.typescriptlang.org/) + [TailwindCSS](https://v3.tailwindcss.com/docs/) + [Shadcn](https://shadcn-solid.com/) Starter Template
A starter template for easy and fast cross platform app development using Tauri + Solid. Comes preconfigured with Vite, TypeScript, Tailwind CSS, Shadcn-Solid components support and HMR (Hot Module Replacement).
## Resources
* [Tauri 2.0](https://v2.tauri.app/) - Framework for building tiny, fast binaries for all major desktop and mobile platforms
* [Tailwind 3](https://v3.tailwindcss.com/docs/) - A utility-first CSS framework for rapid UI development.
* [Solid](https://docs.solidjs.com/) - Modern JavaScript framework designed to build responsive and high-performing user interfaces
* [Vite](https://vite.dev/) - Blazing fast frontend build tool powering the next generation of web applications.
* [Shadcn Solid](https://shadcn-solid.com/) - Beautifully designed components that you can copy and paste into your apps.
* [Tabler Icons](https://tabler.io/docs/icons/libraries/solidjs) - Free and open source icons designed to make your website or app attractive, visually consistent and simply beautiful.
## Requirements
* [Tauri Prerequisistes](https://tauri.app/start/prerequisites/) - In order to use tauri you might need to install some dependencies.
## Screenshots
<p float="left">
<img src="https://github.com/ACRae/tauri-solid-tailwind-shadcn/raw/main/images/default_theme.png" width="400" />
<img src="https://github.com/ACRae/tauri-solid-tailwind-shadcn/raw/main/images/theme_switch.png" width="400" />
<img src="https://github.com/ACRae/tauri-solid-tailwind-shadcn/raw/main/images/light_theme.png" width="400" />
</p>
## Getting Started
### Clone to Local
```bash
npx degit ACRae/tauri-solid-tailwind-shadcn tauri-app
cd tauri-app
npm install
```
> [!TIP]
> You can use your package manager of choice like pnpm, yarn, etc.
## Usage
### Development
```bash
npm run tauri dev
```
The initial execution of this may take a few minutes, as the Rust package manager downloads and compiles all necessary packages. However, once these packages are cached, future builds will be significantly quicker.
Any changes you make to the page in the webview will automatically refresh, similar to how a browser reloads. Additionally, modifications to the Rust files will trigger an automatic rebuild, causing your app to restart seamlessly.
### Build
```bash
npm run tauri build
```
The frontend is built into the `dist` folder, which is then embedded into a single binary along with your Rust code.
The resulting binary can be found in `src-tauri/target/release/[app name]`, while the installers will be located in `src-tauri/target/release/bundle/`.
## Acknowledgments
* [tauri-solid-ts-tailwind-vite](https://github.com/AR10Dev/tauri-solid-ts-tailwind-vite) - A big thank you to AR10Dev for sharing excellent code that served as the foundation for this project.
## License
```
MIT License
Copyright (c) 2025 António Carvalho
```看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

tauri-start-solid
This project template should help get you started developing a multi-platform desktop application with tray me…
SolidJS · 启动器

solid-start-starter
SolidJS project starter template with TypeScript, ESLint, TailwindCSS, tRPC and Prisma
SolidJS · 启动器

snowpack-solid-template
Snowpack SolidJS Starterpack template
SolidJS · 启动器

ktor-solidjs-template
Full-stack project template combining a Ktor/Kotlin API with a SolidJS 2 frontend, reproducible Gradle-managed…
SolidJS · 启动器

solid-nextjs
Solid is a free Next.js template specifically crafted for startups, SaaS, and software websites.
Next.js · SaaS

UltimateAstroTemplate
Astro Template that uses React,Solid,Vue and Svelte all in one piece
Astro · 启动器
