VueVite启动器

vue-launchpad — Vue 启动器模板

作者 a289399282

Vue-Launchpad 是一个基于 Vite、Vue 3 和 TypeScript 的 Vue 项目起始模板,提供文件路由、Pinia、UnoCSS、Axios 请求层,以及通过交互脚本选择 UI 组件库和 i18n 的初始化流程。

看看你的网站会是什么样

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

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

从已核对的演示页面实际渲染并截图。

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

通过 pnpm launch 交互选择 8 种 UI 引擎之一,并将配置写入 .uirc.json 供 Vite 配置读取

02

Vue Router 5 文件路由从 src/pages 生成类型化路由,并接入路由热更新

03

TypeScript 默认启用 strict、noUncheckedIndexedAccess 和 exactOptionalPropertyTypes

04

Axios 请求层包含认证注入、响应解包和请求去重

05

Biome 统一负责格式化、lint 与 import 排序,配合 Husky 和 lint-staged 做提交前检查

06

构建侧提供环境变量校验、动态代理生成、手动分包、gzip 压缩和可选打包分析

模板详细介绍

Vue-Launchpad 是面向 Vue 3 项目的起始模板,README 将其定位为开箱即用的 launchpad。技术基线包括 Vite 8、Vue 3.5、TypeScript 6.0、Vue Router 5.1、Pinia 3、UnoCSS 66、Axios 1、Biome 2.4、Vitest 4,并使用 Husky 与 lint-staged 做提交前检查。

模板的核心机制是 pnpm launch 交互式初始化:选择 UI 引擎及可选 i18n 能力后,将配置写入 .uirc.json,Vite 配置据此调整组件解析器、依赖预构建和组件扫描目录。可选 UI 引擎包括 Element Plus、Ant Design Vue、Naive UI、TDesign、Arco Design、Shadcn-Vue、Nuxt UI 和 Varlet。

工程侧提供 src/pages 下的文件路由、Pinia setup store、Axios 请求层(认证注入、响应解包、请求去重)、环境变量校验、动态代理生成、手动分包、gzip 压缩和可选的打包分析。脚本覆盖开发、生成、类型检查、Biome 检查、测试、构建、预览和自动修复。

限制说明:README 未说明各 UI 引擎的具体版本、i18n 的实现细节、测试覆盖范围,也未提供生产部署步骤或运行时性能数据;预览截图仅说明页面存在,不能据此推断功能。

VueVite启动器

适合你的项目吗?

适用场景

  • 新建 Vue 3 + TypeScript 项目时,需要一套包含路由、状态管理、样式和请求层的起始结构
  • 团队需要在多个 UI 组件库之间快速切换,并让 Vite 配置自动适配组件解析器
  • 项目需要文件路由、Pinia store、API 模板等可生成的基础代码骨架
  • 需要在提交前统一执行格式化、lint 和类型检查

适合人群

  • 使用 Vue 3 与 TypeScript 开发的中后台或通用 Web 项目
  • 希望以交互方式选择 UI 组件库并保留后续切换能力的团队
  • 需要文件路由、Pinia、UnoCSS 和 Axios 请求层作为起点的项目

上手与定制指南

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

  1. 1

    环境要求:Node.js >=20.0.0,pnpm >=11.0.0

  2. 2

    依次执行 pnpm install、pnpm launch 选择 UI 引擎与可选能力、pnpm dev 启动开发服务器

  3. 3

    生产构建使用 pnpm build;预发布构建使用 pnpm build:staging;打包分析使用 pnpm build:analyze 生成 stats.html

  4. 4

    质量检查可用 pnpm check(Biome + TypeScript)和 pnpm test;pnpm lint:fix 自动修复格式与 import 顺序

  5. 5

    README 未提供具体部署步骤,部署方式需结合所选构建产物另行确定

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • 运行环境要求 Node.js >=20.0.0。
  • 包管理器要求 pnpm >=11.0.0。
  • 需先运行 pnpm launch 交互式选择 UI 引擎与可选能力,配置写入 .uirc.json 后 Vite 配置才据此适配。
  • UI 引擎选择依赖 .uirc.json 配置文件,Vite 配置据此调整组件解析器、依赖预构建和组件扫描目录。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

- Node.js `>=20.0.0`

README 原文

- pnpm `>=11.0.0`

README 原文

# 2. Select the UI engine and optional capabilities

README 原文

`pnpm launch` writes the selected profile into `.uirc.json`. The Vite config then adjusts component resolvers, dependency pre-bundling, and component scan directories from that profile.

README 原文
https://github.com/a289399282/vue-launchpad/blob/main/LICENSEhttps://github.com/a289399282/vue-launchpad/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

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

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: codex-user-requested-batch-review-20261018 · 2026-10-18

查看当时使用的来源资料

SHA-256: 545743b5dc7121fd89aab25855132113b2219c0b9e66fc8b544c4b77ffc69447

2026-10-17T19:29:25.026Z

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

```text
__     __ _   _ _____        _        _    _   _ _   _  ____ _   _ ____   _    ____
\ \   / /| | | | ____|      | |      / \  | | | | \ | |/ ___| | | |  _ \ / \  |  _ \
 \ \ / / | | | |  _| _____  | |     / _ \ | | | |  \| | |   | |_| | |_) / _ \ | | | |
  \ V /  | |_| | |__|_____| | |___ / ___ \| |_| | |\  | |___|  _  |  __/ ___ \| |_| |
   \_/    \___/|_____|      |_____/_/   \_\\___/|_| \_|\____|_| |_|_| /_/   \_\____/
```

# Vue-Launchpad

[![Vite](https://img.shields.io/badge/Vite-8-646CFF?style=for-the-badge&logo=vite&logoColor=white)](https://vite.dev/)
[![TypeScript](https://img.shields.io/badge/TypeScript-6.0-3178C6?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
[![Vue](https://img.shields.io/badge/Vue-3.5-42B883?style=for-the-badge&logo=vuedotjs&logoColor=white)](https://vuejs.org/)
[![Biome](https://img.shields.io/badge/Biome-2.4-60A5FA?style=for-the-badge&logo=biome&logoColor=white)](https://biomejs.dev/)
[![License](https://img.shields.io/badge/License-MIT-00ADD8?style=for-the-badge)](./LICENSE)

**A modern all-in-one Vue 3 launchpad powered by Vite 8 + TS 6.0, ready out of the box.**

[Documentation](https://a289399282.github.io/vue-launchpad/) · [简体中文](./README.zh.md)

</div>

## ✨ Features

- 🚀 **Vite 8 as the build core**: modern ESM dev server, precise HMR, and production-grade Rollup builds.
- 🧬 **TypeScript 6.0 strict baseline**: `strict`, `noUncheckedIndexedAccess`, and `exactOptionalPropertyTypes` enabled by default.
- 🧭 **Vue Router 5 file-based routing**: typed routes generated from `src/pages`, with route HMR wired in.
- 🎛️ **8 UI engines on demand**: Element Plus, Ant Design Vue, Naive UI, TDesign, Arco Design, Shadcn-Vue, Nuxt UI, and Varlet.
- ⚡ **Biome-powered quality gate**: formatting, linting, and import organization through one fast toolchain.
- 🏗️ **Production-minded build and network layer**: strict env validation, dynamic proxy generation, Axios infrastructure, request dedupe, manual chunks, gzip compression, and opt-in bundle analysis.

## 🚀 Quick Start

```bash
# 1. Install dependencies
pnpm install

# 2. Select the UI engine and optional capabilities
pnpm launch

# 3. Start the dev server
pnpm dev

# 4. Build for production
pnpm build
```

## 🛠️ Available Scripts

| Script | Description |
| --- | --- |
| `pnpm dev` | Start the Vite dev server with file routes, UnoCSS, auto imports, and proxy support. |
| `pnpm launch` | Run the interactive initializer for UI and i18n capabilities, then write the selected profile to `.uirc.json`. |
| `pnpm gen` | Generate page, component, store, and api templates with Plop. |
| `pnpm typecheck` | Run `vue-tsc --noEmit` for Vue + TypeScript validation. |
| `pnpm check` | Run Biome checks and TypeScript checks in sequence. |
| `pnpm test` | Run the Vitest test suite. |
| `pnpm test:run` | Run Vitest with coverage enabled. |
| `pnpm build` | Type-check and build for production. |
| `pnpm build:staging` | Build with the staging mode. |
| `pnpm build:analyze` | Enable bundle visualizer and emit `stats.html`. |
| `pnpm preview` | Preview the production build locally. |
| `pnpm lint:fix` | Let Biome fix formatting, lint issues, and import order. |

## 📦 Tech Stack

| Technology | Baseline | Why it is here |
| --- | --- | --- |
| Vite | 8.x | Fast dev server, modern build pipeline, and rich plugin ecosystem. |
| Vue | 3.5.x | Composition API, high-performance reactivity, and mature SFC tooling. |
| TypeScript | 6.0.x | Strict typing and modern bundler-style module resolution. |
| Vue Router | 5.1.x | Built-in file-based routing plugin, typed routes, and route HMR. |
| Pinia | 3.x | Lightweight setup stores with persisted-state support. |
| UnoCSS | 66.x | Atomic CSS generation, semantic design tokens, and zero-runtime styling. |
| Axios | 1.x | Unified request layer, auth injection, envelope unwrapping, and request dedupe. |
| Biome | 2.4.x | One fast toolchain for formatting, linting, and import organization. |
| Vitest | 4.x | Vite-native tests for build utilities and infrastructure modules. |
| Husky + lint-staged | 9.x / 17.x | Pre-commit quality gate for team workflows. |

## 🎛️ UI Engine Matrix

`pnpm launch` writes the selected profile into `.uirc.json`. The Vite config then adjusts component resolvers, dependency pre-bundling, and component scan directories from that profile.

The same flow can also inject i18n support without forcing it into the clean baseline.

| UI Engine | Best fit |
| --- | --- |
| Element Plus | Stable enterprise dashboards with broad component coverage. |
| Ant Design Vue | Complex admin products, forms, and dense data workflows. |
| Naive UI | Strong TypeScript ergonomics and flexible theming. |
| TDesign | Enterprise-grade design language for Tencent-style products. |
| Arco Design | Modern, high-density admin applications. |
| Shadcn-Vue | Headless and atomic UI for custom design systems. |
| Nuxt UI | Atomic UI composition for modern Vue interfaces. |
| Varlet | Mobile-first and cross-platform Vue applications. |

## 🧱 Project Layout

```text
src/
  pages/        Vue Router 5 file-based route pages
  store/        Pinia setup stores
  utils/        Request layer and shared utilities
  assets/       Global styles and static assets
build/
  env.ts        Environment loading and validation
  proxy.ts      Dynamic proxy generation and custom proxy merging
  profile.ts    UI profile reading and component resolver creation
scripts/
  init.ts       UI engine and optional capability injector
```

## 🔐 Requirements

- Node.js `>=20.0.0`
- pnpm `>=11.0.0`

## 📄 License

[MIT](./LICENSE)
反馈内容错误

看看同类模板

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