vite · Vite Docs
Vite Vite Command Line Interface
Explains how to interact with Vite via the command line, including common commands for starting development servers, building for production, and previewing builds.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Vite Vite Command Line Interface
Explains how to interact with Vite via the command line, including common commands for starting development servers, building for production, and previewing builds.
When To Use
Use when you need to start a local development server, generate production-ready assets, or preview a local production build using terminal commands.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/vite-command-line-interface-workflow-guide.md | A markdown guide detailing the usage, dev server commands, and configuration options for the Vite CLI. | Questions about a markdown guide detailing the usage, dev server commands, and configuration options for the Vite CLI. |
examples/vite-command-line-interface-vite-cli-usage.text | A text representation of the basic vite command line interface usage pattern. | Exact payloads, commands, or snippets shown in A text representation of the basic vite command line interface usage pattern. |
examples/vite-command-line-interface-vite-cli-build-command-usage.text | A text example demonstrating the syntax and usage of the vite build command with an optional root directory argument. | Exact payloads, commands, or snippets shown in A text example demonstrating the syntax and usage of the vite build command with an optional root directory argument. |
examples/vite-command-line-interface-vite-cli-optimize-command-usage.text | An example demonstrating the syntax and usage of the vite optimize command within the CLI. | Exact payloads, commands, or snippets shown in An example demonstrating the syntax and usage of the vite optimize command within the CLI. |
examples/vite-command-line-interface-vite-cli-preview-command-usage.text | An example demonstrating the usage of the vite preview command with an optional root directory argument. | Exact payloads, commands, or snippets shown in An example demonstrating the usage of the vite preview command with an optional root directory argument. |
What This Skill Covers
- Are you an LLM? You can read better optimized documentation at /guide/cli.md for this page in Markdown format
- Main sections:
Dev server ,vite ,Usage ,Options ,Build .
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://vite.dev/guide/cli