npx skills add https://github.com/uni-helper/skills --skill viteVite 是一款现代化的前端构建工具,具备基于原生 ES 模块的即时服务器启动、闪电般的热模块替换(HMR)以及使用 Rolldown/Rollup 的优化生产构建等特性。它开箱即用地支持 TypeScript、JSX、CSS 预处理器,并拥有丰富的插件生态系统。
此技能基于 Vite 6.x 版本,生成于 2026-01-28。
| 主题 | 描述 | 参考链接 |
|---|---|---|
| 配置 | 配置文件设置、defineConfig、条件配置和异步配置 | core-config |
| 命令行指令 | 开发服务器、构建、预览命令及其选项 | core-cli |
| 核心特性 | TypeScript、JSX、CSS、HTML 处理、JSON 处理 | core-features |
| 使用插件 | 添加、配置和排序插件 | core-plugins |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 主题 | 描述 | 参考链接 |
|---|---|---|
| CSS 处理 | CSS 模块、预处理器、PostCSS、Lightning CSS | features-css |
| 静态资源 | 资源导入、public 目录、URL 处理 | features-assets |
| 全局导入 | import.meta.glob、动态导入、批量加载 | features-glob-import |
| 环境变量 | .env 文件、模式、import.meta.env 常量 | features-env |
| HMR API | 热模块替换客户端 API | features-hmr |
| Web Workers | Worker 导入与配置 | features-workers |
| 依赖预构建 | optimizeDeps、缓存、monorepo 设置 | features-dep-bundling |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| 生产构建 | 构建选项、浏览器目标、多页面应用 | build-production |
| 库模式 | 使用正确的包导出构建库 | build-library |
| SSR | 服务端渲染设置与配置 | build-ssr |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| JavaScript API | createServer、build、preview 编程式 API | advanced-api |
| 插件 API | 创建 Vite 插件、钩子、虚拟模块 | advanced-plugin-api |
| 性能 | 开发服务器和构建的优化技巧 | advanced-performance |
| 后端集成 | 将 Vite 与传统后端集成 | advanced-backend |
每周安装量
175
代码仓库
GitHub 星标数
38
首次出现
2026 年 1 月 30 日
安全审计
安装于
codex165
gemini-cli162
opencode162
github-copilot159
kimi-cli158
amp158
Vite is a modern build tool for frontend development featuring instant server start with native ES modules, lightning-fast HMR, and optimized production builds using Rolldown/Rollup. It supports TypeScript, JSX, CSS pre-processors out of the box and has a rich plugin ecosystem.
The skill is based on Vite 6.x, generated at 2026-01-28.
| Topic | Description | Reference |
|---|---|---|
| Configuration | Config file setup, defineConfig, conditional and async configs | core-config |
| CLI Commands | Dev server, build, preview commands and options | core-cli |
| Core Features | TypeScript, JSX, CSS, HTML processing, JSON handling | core-features |
| Using Plugins | Adding, configuring, and ordering plugins | core-plugins |
| Topic | Description | Reference |
|---|---|---|
| CSS Handling | CSS modules, pre-processors, PostCSS, Lightning CSS | features-css |
| Static Assets | Asset imports, public directory, URL handling | features-assets |
| Glob Import | import.meta.glob, dynamic imports, batch loading | features-glob-import |
| Environment Variables | .env files, modes, import.meta.env constants | features-env |
| HMR API | Hot Module Replacement client API | features-hmr |
| Web Workers | Worker imports and configuration |
| Topic | Description | Reference |
|---|---|---|
| Production Build | Build options, browser targets, multi-page apps | build-production |
| Library Mode | Building libraries with proper package exports | build-library |
| SSR | Server-side rendering setup and configuration | build-ssr |
| Topic | Description | Reference |
|---|---|---|
| JavaScript API | createServer, build, preview programmatic APIs | advanced-api |
| Plugin API | Creating Vite plugins, hooks, virtual modules | advanced-plugin-api |
| Performance | Optimization tips for dev server and builds | advanced-performance |
| Backend Integration | Integrating Vite with traditional backends | advanced-backend |
Weekly Installs
175
Repository
GitHub Stars
38
First Seen
Jan 30, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex165
gemini-cli162
opencode162
github-copilot159
kimi-cli158
amp158
TanStack Query v5 完全指南:React 数据管理、乐观更新、离线支持
2,500 周安装
Elastic Cloud 云网络安全策略管理:IP过滤器与VPC过滤器配置指南
205 周安装
YouTube频道API工具 - 免费获取频道ID、最新视频和分页列表 | TranscriptAPI
70 周安装
Firecrawl 网页抓取工具:AI 友好的 Markdown 转换与反爬虫处理
199 周安装
阿里云 OpenClaw 最小化冒烟测试设置指南 - 验证 CLI、插件与网关状态
199 周安装
移动端离线支持开发指南:React Native/iOS/Android离线存储与同步最佳实践
199 周安装
macOS日历管理脚本:自动化创建、管理Apple日历事件,支持自然语言解析
199 周安装
| features-workers |
| Dependency Pre-Bundling | optimizeDeps, caching, monorepo setup | features-dep-bundling |