vite

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to use this skill

何时使用该技能

Use this skill whenever the user wants to:
  • Follow Vite Guide topics from getting started to performance
  • Configure Vite using the official config reference
  • Select or understand Vite plugins from the official plugins page
  • Use Vite CLI, HMR API, or JavaScript API
  • Handle SSR, backend integration, or deployment scenarios in Vite
当用户有以下需求时,可使用该技能:
  • 按照Vite指南完成从入门到性能优化的相关内容学习
  • 参考官方配置文档进行Vite配置
  • 从官方插件页面选择或了解Vite插件
  • 使用Vite CLI、HMR API或JavaScript API
  • 处理Vite中的SSR、后端集成或部署场景

How to use this skill

如何使用该技能

  1. Identify the topic from the user request.
  2. Open the matching guide example file in
    examples/guide/
    .
  3. If configuration is needed, open the matching file in
    examples/config/
    .
  4. If plugin selection is needed, open
    examples/plugins.md
    .
  5. Follow official docs verbatim and keep output consistent with the referenced page.
  1. 明确用户请求的主题
  2. 打开
    examples/guide/
    目录下对应的指南示例文件
  3. 若需要配置相关内容,打开
    examples/config/
    目录下对应的文件。
  4. 若需要插件选择相关内容,打开
    examples/plugins.md
    文件。
  5. 严格遵循官方文档内容,确保输出与参考页面保持一致。

Guide mapping (one-to-one with https://cn.vitejs.dev/guide/)

Introduction
Guide
APIs
Environment API
简介
指南
APIs
环境API

Config mapping (one-to-one with https://cn.vitejs.dev/config/)

Plugins mapping (one-to-one with https://cn.vitejs.dev/plugins/)

Resources

资源

Keywords

关键词

Vite, build tool, dev server, HMR, config, plugins, SSR, CLI, dependency pre-bundling, assets
Vite、构建工具、开发服务器、HMR、配置、插件、SSR、CLI、依赖预构建、资源