使用 Vite 作为构建与本地开发工具,提供 dev、build、preview 脚本
website-template — Vite 启动器模板
作者 codenagency
基于 Vite 与 TailwindCSS 的极简静态网站模板,内置 GSAP 动画与 Prettier 配置,附带 AI 代理协作说明,可用于落地页、作品集、文档站或简单营销站点。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
集成 TailwindCSS 进行 utility-first 样式编写与快速原型
包含 Prettier 配置以统一代码格式
集成 GSAP 用于动画效果
提供 .agents/AGENTS.md 及配套指引,说明 AI 代理的协作流程与推荐输入
文件结构精简,src/ 存放可运行代码,配置位于根目录
模板详细介绍
这是一个面向静态网站的极简模板,README 说明其定位为“minimal, opinionated”,可以沿用其结构与起始内容,也可以清空后从头开始。适用场景包括落地页、作品集、文档站点或简单的营销站点。
技术层面,模板使用 Vite 作为构建工具,TailwindCSS 负责样式,Prettier 负责格式化,GSAP 用于动画。README 提到 Vite 配置带来较快的本地开发体验和较小的生产包体积,但未给出具体版本号或性能数据。项目结构将可运行代码放在 src/ 下,配置放在根目录:src/_public/ 存放原样复制的静态资源,src/_ui/ 包含 components(可复用 UI 组件,README 标注为 WebComponents)、scripts 与 styles,src/library/ 存放所有组件与页面模板,根级 index.* 为首页入口。根目录还包含 vite.config.js 与 wrangler.toml(Cloudflare Workers 配置)。
模板包含 .agents/AGENTS.md,用于引导 AI 代理按落地页工作流、项目结构、样式、资源与动效等方向获取指引。README 建议代理复用 src/library/pages/template/ 创建新页面,在引入新值前先检查 src/_ui/styles/theme.css,先查阅 src/library/components/manifest.json 再打开组件 HTML,按结构匹配优先选择组件,并在交接时报告占位内容、假设与设计令牌缺口。
README 未说明具体的部署步骤、浏览器兼容范围、无障碍支持情况或测试方案;wrangler.toml 的存在仅表明包含 Cloudflare Workers 配置,README 未展开其用途。代码以 MIT 许可证发布。
适合你的项目吗?
适用场景
- 制作落地页或产品微站点
- 搭建开发者个人作品集
- 构建文档站点
- 快速原型验证与样式试验
- 需要 AI 代理按既定规范生成页面的项目
适合人群
- 希望从现成结构起步的静态网站项目
- 使用 TailwindCSS 进行快速原型开发的团队或个人
- 需要 GSAP 动画能力的站点
- 愿意按模板约定(组件清单、主题令牌、页面模板)协作的 AI 代理工作流
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
安装依赖:npm install
- 2
启动开发服务器:npm run dev
- 3
构建生产版本:npm run build
- 4
预览构建结果:npm run preview
- 5
README 未提供部署步骤;根目录的 wrangler.toml 为 Cloudflare Workers 配置,但 README 未说明其具体用法
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
https://github.com/codenagency/website-template/blob/main/LICENSEhttps://github.com/codenagency/website-template/blob/main/README.mdPermission is hereby granted, free of charge
许可证原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-16。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 80 / 100
- 技术栈
- Vite · HTML
- 网站类型
- 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-03-23
- 截图检查日期
- 2026-10-16
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Vite。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16
查看当时使用的来源资料
SHA-256: 8d380ffbc64b984d905924c64c070f6f2ec83960f267c89da103f2b4da5e5f89
2026-10-16T12:21:36.834Z
来源文件 / 仓库# Website template This is a minimal, opinionated template for static websites. Use the structure and starter content, or strip everything and start fresh. Suitable for landing pages, portfolios, documentation sites, or simple marketing sites. ## Features - Minimal Vite setup for fast local dev and small production bundles. - TailwindCSS configured for utility-first styling and rapid prototyping. - Prettier configuration for consistent formatting. - GSAP for advanced, performant animations. - Small, easy-to-understand file structure to get started quickly. ## Quick start 1. Install dependencies: - npm install 2. Start dev server: - npm run dev 3. Build for production: - npm run build 4. Preview build: - npm run preview ## Project structure ``` website-template/ ├── .agents/ # AI agents instructions ├── plugins/ # Vite plugins ├── src/ # Website source code │ ├── _public/ # Static assets copied as-is to build output │ ├── _ui/ # Interface core │ │ ├── components/ # Reusable UI components (WebComponents) │ │ ├── scripts/ # UI logic │ │ └── styles/ # Global styles │ ├── library/ # All components and page templates │ ├── */index.html # Other pages │ └── index.* # Entry points for homepage ├── vite.config.js # Vite configuration └── wrangler.toml # Cloudflare workers configuration ``` This layout keeps runnable code in src/ and configuration at the root. ## Good for - Landing pages, product microsites, and developer portfolios. - Fast prototyping with Tailwind utilities. - Projects where small bundle size and quick iteration matter. ## Working with AI agents AI agents should start from `.agents/AGENTS.md`, which routes them to the focused guidance for landing-page workflows, project structure, styling, assets, and motion. Recommended prompt inputs for the best result: - Company or product name - Industry and audience - Tone and visual direction - Required page sections and priorities - Brand colors, logos, screenshots, and icon preferences - Any content that must stay final versus placeholder Agent workflow expectations: - Reuse `src/library/pages/template/` for new pages - Check `src/_ui/styles/theme.css` before introducing new values - Use `src/library/components/manifest.json` before opening component HTML - Choose components by structural fit first, then adapt visuals - Report placeholders, assumptions, and token gaps in the handoff ## License The code is available under the [MIT license](LICENSE).
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

cove
The Cove Stack: 🏝️ minimal TanStack Start template with Vite+, Better Auth, Drizzle ORM, shadcn/ui
Vite · SaaS

vite-react-boilerplate
A production ready, scalable starter template for Vite + React
Vite · 启动器

vital
Starter template for Vite with React (TypeScript). Supports Tailwind. Vitest and @react/testing-library config…
Vite · 启动器

react-vite-admin
This Starter utilizes React, Recoil, React Query, React Hooks, Typescript, Axios And Vite. 全新技术栈的后台管理系统
Vite · 后台

typescript-react_best_practices-vite_template
<⚡⚛️> Start your React project with Vite following code best practices (TypeScript, Linting, testing, CI/CD…)
Vite · 启动器

cloudflare-starter-kit
Template (boilerplate) repository for scaffolding Cloudflare Workers projects
Vite · 启动器
