ViteReact启动器

quiet-on-set — Vite 启动器模板

作者 felton

quiet-on-set 是一个基于 Vite 的 React 起始模板,预置 React Router、Tailwind CSS 与 shadcn/ui,适合直接开始搭建站点。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-20查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

基于 Vite,预置框架模式的 React Router,支持服务端渲染、SPA 与预渲染构建及类型化路由

02

集成 Tailwind CSS 与 Base UI 变体的 shadcn/ui,并提供 TypeScript、oxfmt、oxlint、Vitest 和 Testing Library

03

内置 Light / Dark / System 明暗模式菜单,无需额外 Provider

04

通过 app/lib/site.ts 统一配置社交卡片、canonical 链接和子路径

05

提供 UnsplashPicture 组件,按断点输出不同裁切的响应式 picture

06

包含 GitHub Actions 的 CI、release-please 和分组 Dependabot 更新配置

模板详细介绍

quiet-on-set 是一个 Vite 起始模板,README 称其已预先完成路由、样式、组件、格式化和 CI 等配置,目的是让开发者或编码代理直接进入实际页面开发。技术栈包括框架模式的 React Router(服务端渲染、SPA 或预渲染构建、类型化路由)、Tailwind CSS 与 Base UI 变体的 shadcn/ui,以及 TypeScript、oxfmt、oxlint、Vitest 和 Testing Library。模板内置无需 Provider 的明暗模式菜单、由 app/lib/site.ts 统一驱动的社交卡片与 canonical 链接、按断点裁切的 UnsplashPicture 响应式图片组件,并提供 GitHub Actions 的 CI、release-please 和 Dependabot 配置。README 明确说明它适合营销站点、文档、仪表盘和小型应用,不适合需要 Next.js 或 Astro、Radix 版 shadcn/ui、或 pnpm 以外包管理器的项目。创建方式包括 pnpm create quiet-on-set、npm create、degit 固定版本、Use this template 或 gh repo create,随后运行 pnpm make-it-yours 写入站点信息并清理模板内容。

ViteReact启动器

适合你的项目吗?

适用场景

  • 使用 pnpm create quiet-on-set 快速生成新项目并运行 pnpm make-it-yours 完成初始化
  • 通过 degit 拉取固定版本模板,或使用 GitHub 的 Use this template 创建私有仓库
  • 在 AGENTS.md 与 CLAUDE.md 的指引下,让编码代理按既有约定继续开发
  • 以 pnpm build 构建 Node 服务端产物,或以 pnpm build:spa 构建静态 SPA

适合人群

  • 营销站点、文档站点、仪表盘和小型应用
  • 希望预先配置好路由、样式、组件、测试与 CI 的 React 项目
  • 使用 pnpm 并接受 Base UI 版 shadcn/ui 的团队

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    推荐命令:pnpm create quiet-on-set my-app,然后 cd my-app、pnpm install、pnpm dev

  2. 2

    也可使用 npm create quiet-on-set@latest my-app,或 npx degit felton/quiet-on-set#v1.2.1 my-app 后运行 pnpm make-it-yours

  3. 3

    pnpm make-it-yours 会写入名称、描述和公开 URL,重置版本号,记录 TEMPLATE_VERSION,替换 README 并删除自身

  4. 4

    新增路由需放在 app/routes/ 并在 app/routes.ts 注册;组件可用 pnpm dlx shadcn@latest add <component> 添加

  5. 5

    如需自动发布,需在仓库设置中允许 GitHub Actions 创建和批准 PR,并使用 Conventional Commits

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 仅适用于不需要 Next.js/Astro、Radix 版 shadcn/ui 或 pnpm 以外包管理器的项目;这些技术选型限制需在采用前确认。
  • 使用模板后需自行替换 hero 图片及其摄影师署名,模板自带的 Unsplash 图片与署名不随项目自动适配。
  • 示例 hero 照片来自 Unsplash 并由 stefano stacchini 署名;该图片的授权与署名要求需自行核实,不能默认所有素材均已授权。
  • 启用自动发布需在 GitHub 仓库设置中允许 GitHub Actions 创建和批准 PR,并遵循 Conventional Commits;不需要时可删除对应工作流。
  • pnpm create 会下载最新 release 并运行 pnpm make-it-yours,需提供站点名称、描述和公开 URL(或使用 --yes 等参数)。
  • degit 方式只复制单个 release 且不含 git 历史;其他版本需从 Releases 页面获取。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

**Good for** marketing sites, docs, dashboards and small apps. **Not for** projects that need Next.js or Astro, the Radix flavor of shadcn/ui, or a package manager other than pnpm.

README 原文

2. Swap the hero image and its photographer credit.

README 原文

Hero photo by [stefano stacchini](https://unsplash.com/@stak59) on [Unsplash](https://unsplash.com).

README 原文

For automated releases, turn on **Settings → Actions → General → Allow GitHub Actions to create and approve pull requests**. Use [Conventional Commits](https://www.conventionalcommits.org/) and squash-merge PRs with a conventional title: `feat:` and `fix:` commits open a release PR, and merging it tags and publishes the release. If you don't want this, delete `.github/workflows/release-please.yml`.

README 原文

`pnpm create` downloads the latest release and runs `pnpm make-it-yours` in it. That asks for the site's name, description and public URL (or takes `--name`, `--description`, `--url` and `--yes`) and sets the copy up as your project. `npm create quiet-on-set@latest my-app` works too. [create-quiet-on-set](https://github.com/felton/create-quiet-on-set) lists every option.

README 原文

degit copies one release with no git history. Other versions are on the [Releases](../../releases) page. You can also click **Use this template**, or run `gh repo create my-app --template felton/quiet-on-set --private --clone`, then run `pnpm make-it-yours` in the copy. See [Making it yours](#making-it-yours).

README 原文
https://github.com/felton/quiet-on-set/blob/main/LICENSEhttps://github.com/felton/quiet-on-set/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-20。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 85 / 100
技术栈
Vite · React
网站类型
启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-10-20
截图检查日期
2026-10-20

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

目录记录的主要技术栈是 Vite。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

审核声明: codex-user-requested-batch-review-20261021 · 2026-10-21

查看当时使用的来源资料

SHA-256: 8e4639a246c47d2ed45ffc85492d86819f269eb4eb060a8763200c4fdfc0f0b6

2026-10-20T11:17:53.406Z

来源文件 / 仓库
# quiet on set

A quiet, ready-to-shoot Vite starter: React Router, shadcn/ui, Tailwind. Places, everyone.

**Docs and live demo: [felton.github.io/quiet-on-set](https://felton.github.io/quiet-on-set/)**. The docs site is itself built with this template.

The setup work is already done (routing, styling, components, formatting, CI), so you or a coding agent can start building the actual site straight away.

## What's on set

- **React Router v8** in framework mode: server rendering, SPA or pre-rendered builds, typed routes
- **Tailwind CSS v4** and **shadcn/ui** on the [Base UI](https://base-ui.com) variant
- **TypeScript**, **oxfmt**, **oxlint**, **Vitest** and **Testing Library**
- **Dark mode** with a Light / Dark / System menu, no provider needed
- **Social cards and canonical links** from one `app/lib/site.ts`, which also sets the subpath
- **`UnsplashPicture`**, a responsive `<picture>` with art-directed crops per breakpoint
- **GitHub Actions** for CI, release-please and grouped Dependabot updates
- **`AGENTS.md`** plus the official React Router and shadcn/ui agent skills

**Good for** marketing sites, docs, dashboards and small apps. **Not for** projects that need Next.js or Astro, the Radix flavor of shadcn/ui, or a package manager other than pnpm.

## Quick start

```bash
pnpm create quiet-on-set my-app
cd my-app
pnpm install
pnpm dev
```

`pnpm create` downloads the latest release and runs `pnpm make-it-yours` in it. That asks for the site's name, description and public URL (or takes `--name`, `--description`, `--url` and `--yes`) and sets the copy up as your project. `npm create quiet-on-set@latest my-app` works too. [create-quiet-on-set](https://github.com/felton/create-quiet-on-set) lists every option.

**A pinned release, without the CLI:**

<!-- x-release-please-start-version -->

```bash
npx degit felton/quiet-on-set#v1.2.1 my-app
cd my-app
pnpm make-it-yours
```

<!-- x-release-please-end -->

degit copies one release with no git history. Other versions are on the [Releases](../../releases) page. You can also click **Use this template**, or run `gh repo create my-app --template felton/quiet-on-set --private --clone`, then run `pnpm make-it-yours` in the copy. See [Making it yours](#making-it-yours).

**With a coding agent:** give it a brief and the command, with the values filled in: `pnpm create quiet-on-set my-app --name "…" --description "…" --yes`. `AGENTS.md`, which `CLAUDE.md` imports, tells it the commands, layout and conventions, and to run `pnpm make-it-yours` if it finds a fresh copy.

## Scripts

| Command            | What it does                                   |
| ------------------ | ---------------------------------------------- |
| `pnpm dev`         | Dev server at `http://localhost:5173`          |
| `pnpm build`       | Production build to `build/` (Node server)     |
| `pnpm start`       | Serve the production build                     |
| `pnpm build:spa`   | Static SPA build to `build/client`, no server  |
| `pnpm preview:spa` | Serve the SPA build at `http://localhost:4173` |
| `pnpm fmt`         | Format everything                              |
| `pnpm test`        | Run the tests once (`pnpm vitest` to watch)    |
| `pnpm check`       | Format check, lint, typecheck and tests        |
| `pnpm typecheck`   | Generate route types and run `tsc`             |
| `pnpm favicon`     | Rebuild `public/favicon.ico` from its SVG      |

`pnpm check` is the same command CI runs.

## Making it yours

1. Run `pnpm make-it-yours`. It sets the name, description and public URL in `app/lib/site.ts` and `package.json`, resets versioning to `0.1.0` (`package.json` and `.release-please-manifest.json`) so release-please starts fresh, records the template release in `TEMPLATE_VERSION`, replaces this README, deletes `CHANGELOG.md`, and removes itself.
2. Swap the hero image and its photographer credit.
3. Add routes in `app/routes/` (register them in `app/routes.ts`) and components with `pnpm dlx shadcn@latest add <component>`.
4. Replace the favicon. Edit `assets/favicon-tile.svg`, then run `pnpm favicon`.

For automated releases, turn on **Settings → Actions → General → Allow GitHub Actions to create and approve pull requests**. Use [Conventional Commits](https://www.conventionalcommits.org/) and squash-merge PRs with a conventional title: `feat:` and `fix:` commits open a release PR, and merging it tags and publishes the release. If you don't want this, delete `.github/workflows/release-please.yml`.

## Going deeper

| Page                                                                                                  | Covers                                              |
| ----------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| [Call Sheet](https://felton.github.io/quiet-on-set/docs/call-sheet/)                                  | Getting started, scripts, agents                    |
| [Testing](https://felton.github.io/quiet-on-set/docs/call-sheet/#testing)                             | Where tests go, the `createRoutesStub` pattern      |
| [Environment variables](https://felton.github.io/quiet-on-set/docs/call-sheet/#environment-variables) | `.env`, `SPA`, `VITE_*` (never secrets)             |
| [Blocking](https://felton.github.io/quiet-on-set/docs/blocking/)                                      | Project structure, routes, layouts, rendering modes |
| [Props](https://felton.github.io/quiet-on-set/docs/props/)                                            | Every shipped component, live, with source          |
| [Wardrobe](https://felton.github.io/quiet-on-set/docs/wardrobe/)                                      | Theme tokens, dark mode, fonts, hero, favicon       |
| [Wrap](https://felton.github.io/quiet-on-set/docs/wrap/)                                              | Building, static hosting, GitHub Pages, FAQ         |

## License

[MIT](LICENSE)

---

Hero photo by [stefano stacchini](https://unsplash.com/@stak59) on [Unsplash](https://unsplash.com).
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。