VueVite启动器

vue-setup — Vue 启动器模板

作者 pyyupsk

基于 Vue 3、Vite、TypeScript、Tailwind CSS 的启动模板,集成 Vue Router、shadcn-vue、VueUse、PWA 与构建压缩,使用 Bun 作为包管理器。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

集成 Vue 3、Vite、TypeScript 与 Tailwind CSS

02

包含 Vue Router 文件式路由与 shadcn-vue 组件

03

集成 VueUse 组合式工具函数

04

通过 vite-plugin-pwa 支持 PWA 与 Service Worker

05

使用 vite-plugin-compression2 生成 Gzip 与 Brotli 压缩构建

06

提供 ESLint、Prettier 与 TypeScript 类型检查脚本

模板详细介绍

该模板面向需要快速搭建 Vue 3 项目的开发者。README 说明其技术栈包括 Vue 3、Vite、TypeScript、Tailwind CSS,并集成 Vue Router、shadcn-vue、VueUse、vite-plugin-pwa 与 vite-plugin-compression2,代码质量工具为 ESLint 与 Prettier,包管理器为 Bun。项目提供文件式路由目录 pages、组件目录(icon、layout、sections、ui)、常量与工具目录,以及 app.vue、main.ts、router.ts 等入口文件。

使用前需准备 Node.js 18+ 或 Bun 以及 Git。安装步骤为克隆仓库、进入目录、执行 bun install,再运行 bun run dev,开发服务器地址为 http://localhost:3000。可用脚本包括 dev、build、preview、format、lint、lint:fix、typecheck。README 未提供部署步骤、环境变量配置、测试方案或具体框架版本之外的兼容性说明。

VueVite启动器

适合你的项目吗?

适用场景

  • 启动新的 Vue 3 单页应用项目
  • 需要 TypeScript 与 Tailwind CSS 的 Vue 项目
  • 希望内置文件式路由与 shadcn-vue 组件的项目
  • 需要 PWA 离线支持与构建压缩的静态站点

适合人群

  • 使用 Vue 3 与 Vite 的前端开发者
  • 偏好 TypeScript 与 Tailwind CSS 的团队
  • 需要 shadcn-vue 与 VueUse 的 Vue 项目
  • 使用 Bun 作为包管理器的开发者

上手与定制指南

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

  1. 1

    需要 Node.js 18+ 或 Bun,以及 Git

  2. 2

    克隆仓库后执行 bun install 安装依赖

  3. 3

    运行 bun run dev 启动开发服务器,默认地址 http://localhost:3000

  4. 4

    可用脚本包括 build、preview、format、lint、lint:fix、typecheck

  5. 5

    README 未提供部署步骤与环境变量配置说明

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16

查看当时使用的来源资料

SHA-256: b1848b2b8aea7a2ca1244937acfb044fd6024e374fc8c8b4c77d840578e5c881

2026-10-16T00:39:32.845Z

来源文件 / 仓库
<div align="center">

# Vue.js Setup

**A modern Vue.js starter template with Vite, TypeScript, Tailwind CSS, and best practices built-in.**

[![Vue](https://img.shields.io/badge/Vue-3.5-42b883?logo=vue.js)](https://vuejs.org/)
[![Vite](https://img.shields.io/badge/Vite-7-646cff?logo=vite)](https://vitejs.dev/)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.9-3178c6?logo=typescript)](https://www.typescriptlang.org/)
[![Tailwind CSS](https://img.shields.io/badge/Tailwind-4-38bdf8?logo=tailwindcss)](https://tailwindcss.com/)
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

[Features](#-features) • [Quick Start](#-quick-start) • [Tech Stack](#-tech-stack) • [Project Structure](#-project-structure) • [Contributing](#-contributing)

</div>

---

## Features

- **Vue 3** - Latest Vue with Composition API and `<script setup>`
- **Vite** - Lightning fast development with HMR
- **TypeScript** - Full type safety with excellent DX
- **Vue Router** - File-based routing system
- **Tailwind CSS** - Utility-first CSS framework
- **shadcn-vue** - Beautiful, accessible components
- **VueUse** - Essential Vue composition utilities
- **ESLint + Prettier** - Code quality and formatting
- **PWA Ready** - Offline support with service workers
- **Compression** - Gzip and Brotli compressed builds

## Quick Start

### Prerequisites

- [Node.js](https://nodejs.org/) 18+ or [Bun](https://bun.sh/)
- [Git](https://git-scm.com/)

### Installation

```bash
# Clone the repository
git clone https://github.com/pyyupsk/vue-setup.git my-app

# Navigate to the project
cd my-app

# Install dependencies
bun install

# Start development server
bun run dev
```

Your app will be running at `http://localhost:3000`

### Available Scripts

| Script              | Description                  |
| ------------------- | ---------------------------- |
| `bun run dev`       | Start development server     |
| `bun run build`     | Build for production         |
| `bun run preview`   | Preview production build     |
| `bun run format`    | Format code with Prettier    |
| `bun run lint`      | Lint code with ESLint        |
| `bun run lint:fix`  | Fix linting issues           |
| `bun run typecheck` | Run TypeScript type checking |

## Tech Stack

| Category        | Technology                                                                    |
| --------------- | ----------------------------------------------------------------------------- |
| Framework       | [Vue 3](https://vuejs.org/)                                                   |
| Build Tool      | [Vite 7](https://vitejs.dev/)                                                 |
| Language        | [TypeScript](https://www.typescriptlang.org/)                                 |
| Styling         | [Tailwind CSS 4](https://tailwindcss.com/)                                    |
| Components      | [shadcn-vue](https://www.shadcn-vue.com/)                                     |
| Utilities       | [VueUse](https://vueuse.org/)                                                 |
| Routing         | [Vue Router](https://router.vuejs.org/)                                       |
| PWA             | [vite-plugin-pwa](https://vite-pwa-org.netlify.app/)                          |
| Compression     | [vite-plugin-compression2](https://github.com/nonzzz/vite-plugin-compression) |
| Package Manager | [Bun](https://bun.sh/)                                                        |
| Code Quality    | [ESLint](https://eslint.org/), [Prettier](https://prettier.io/)               |

## Project Structure

```text
vue-setup/
├── public/                # Static assets (favicon, PWA icons)
├── src/
│   ├── assets/
│   │   └── css/           # Global styles and Tailwind config
│   ├── components/
│   │   ├── icon/          # Icon components
│   │   ├── layout/        # Layout components (Header, Footer)
│   │   ├── sections/      # Page sections (Hero, Features, CTA)
│   │   └── ui/            # UI components (Button, Card, Badge)
│   ├── constants/         # Constants and configuration
│   ├── lib/               # Utility functions
│   ├── pages/             # Route pages (file-based routing)
│   ├── app.vue            # Root component
│   ├── main.ts            # Application entry
│   └── router.ts          # Vue Router configuration
├── index.html             # HTML template
└── vite.config.ts         # Vite configuration
```

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

## Resources

- [Vue 3 Documentation](https://vuejs.org/)
- [Vite Documentation](https://vitejs.dev/)
- [TypeScript Guide](https://vuejs.org/guide/typescript/overview.html)
- [Tailwind CSS](https://tailwindcss.com/)
- [shadcn-vue](https://www.shadcn-vue.com/)
- [VueUse](https://vueuse.org/)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

<div align="center">

Built with Vue.js

</div>
反馈内容错误

看看同类模板

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