vite Documentation
Vite documentation. Use for frontend build tooling, dev server, HMR, plugins, SSR, library mode, and build configuration.
Documentation Structure
contents/
├── guide/ # Usage guides and API references (24 files)
├── config/ # Configuration option references (8 files)
├── changes/ # Breaking changes and migration notes (6 files)
└── plugins/ # Plugin listing and resources (1 file)
Topic Guide
| Topic |
Key Files |
| Getting started / setup |
contents/guide/index.md, contents/guide/why.md |
| Core features (ESM, HMR, TypeScript, CSS, assets) |
contents/guide/features.md, contents/guide/assets.md |
| Dev server configuration |
contents/config/server-options.md, contents/config/shared-options.md |
| Build configuration |
contents/guide/build.md, contents/config/build-options.md |
| CLI usage |
contents/guide/cli.md |
| Environment variables and modes |
contents/guide/env-and-mode.md |
| Plugin usage and authoring |
contents/guide/using-plugins.md, contents/guide/api-plugin.md, contents/plugins/index.md |
| HMR API |
contents/guide/api-hmr.md |
| JavaScript API |
contents/guide/api-javascript.md |
| SSR (Server-Side Rendering) |
contents/guide/ssr.md, contents/config/ssr-options.md |
| Environment API (Vite 6+) |
contents/guide/api-environment.md, contents/guide/api-environment-plugins.md, contents/guide/api-environment-instances.md, contents/guide/api-environment-frameworks.md, contents/guide/api-environment-runtimes.md |
| Dependency pre-bundling |
contents/guide/dep-pre-bundling.md, contents/config/dep-optimization-options.md |
| Backend integration |
contents/guide/backend-integration.md |
| Static site deployment |
contents/guide/static-deploy.md |
| Performance optimization |
contents/guide/performance.md |
| Troubleshooting |
contents/guide/troubleshooting.md |
| Migration / breaking changes |
contents/guide/migration.md, contents/changes/index.md |
| Web Workers |
contents/config/worker-options.md |
| Preview server |
contents/config/preview-options.md |
When to use
Use this skill when the user asks about:
- Setting up or configuring Vite for a project
- Dev server options, HMR, and hot reload behavior
- Production build configuration and optimization
- Writing or configuring Vite plugins
- SSR with Vite
- Environment variables and build modes
- Migrating between Vite major versions
- The JavaScript API or CLI commands
- Asset handling, CSS processing, or TypeScript support
How to find information
- Use Topic Guide above to identify relevant files
- Read
TOC.md for complete file listing by directory
- Read specific files from
contents/{path}
1---2name: olore-vite-8-3-63description: Local Vite documentation reference (8.3.6). Use for frontend build tooling, dev server, HMR, plugins, SSR, library mode, and build configuration.4version: 8.3.65metadata:6 source: https://skillmd.com/skills/olorehq/olore-vite-8-3-67---89# vite Documentation1011Vite documentation. Use for frontend build tooling, dev server, HMR, plugins, SSR, library mode, and build configuration.1213## Documentation Structure1415```16contents/17├── guide/ # Usage guides and API references (24 files)18├── config/ # Configuration option references (8 files)19├── changes/ # Breaking changes and migration notes (6 files)20└── plugins/ # Plugin listing and resources (1 file)21```2223## Topic Guide2425| Topic | Key Files |26|-------|-----------|27| Getting started / setup | `contents/guide/index.md`, `contents/guide/why.md` |28| Core features (ESM, HMR, TypeScript, CSS, assets) | `contents/guide/features.md`, `contents/guide/assets.md` |29| Dev server configuration | `contents/config/server-options.md`, `contents/config/shared-options.md` |30| Build configuration | `contents/guide/build.md`, `contents/config/build-options.md` |31| CLI usage | `contents/guide/cli.md` |32| Environment variables and modes | `contents/guide/env-and-mode.md` |33| Plugin usage and authoring | `contents/guide/using-plugins.md`, `contents/guide/api-plugin.md`, `contents/plugins/index.md` |34| HMR API | `contents/guide/api-hmr.md` |35| JavaScript API | `contents/guide/api-javascript.md` |36| SSR (Server-Side Rendering) | `contents/guide/ssr.md`, `contents/config/ssr-options.md` |37| Environment API (Vite 6+) | `contents/guide/api-environment.md`, `contents/guide/api-environment-plugins.md`, `contents/guide/api-environment-instances.md`, `contents/guide/api-environment-frameworks.md`, `contents/guide/api-environment-runtimes.md` |38| Dependency pre-bundling | `contents/guide/dep-pre-bundling.md`, `contents/config/dep-optimization-options.md` |39| Backend integration | `contents/guide/backend-integration.md` |40| Static site deployment | `contents/guide/static-deploy.md` |41| Performance optimization | `contents/guide/performance.md` |42| Troubleshooting | `contents/guide/troubleshooting.md` |43| Migration / breaking changes | `contents/guide/migration.md`, `contents/changes/index.md` |44| Web Workers | `contents/config/worker-options.md` |45| Preview server | `contents/config/preview-options.md` |4647## When to use4849Use this skill when the user asks about:50- Setting up or configuring Vite for a project51- Dev server options, HMR, and hot reload behavior52- Production build configuration and optimization53- Writing or configuring Vite plugins54- SSR with Vite55- Environment variables and build modes56- Migrating between Vite major versions57- The JavaScript API or CLI commands58- Asset handling, CSS processing, or TypeScript support5960## How to find information61621. Use Topic Guide above to identify relevant files632. Read `TOC.md` for complete file listing by directory643. Read specific files from `contents/{path}`