vite · Vite Docs
Command Line Interface | Vite (main branch)
Explains how to interact with Vite via the command line, including running the development server, building for production, and previewing builds using specific flags and commands.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
Command Line Interface | Vite (main branch)
Explains how to interact with Vite via the command line, including running the development server, building for production, and previewing builds using specific flags and commands.
When To Use
Use when you need to start a local development server, generate production-ready assets, or preview a local build using terminal commands.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/main-vite-command-line-interface-branch-workflow-guide.md | A guide detailing the usage, commands, and configuration options for the Vite command line interface. | Questions about a guide detailing the usage, commands, and configuration options for the Vite command line interface. |
examples/main-vite-command-line-interface-branch-vite-cli-usage-examples.text | A collection of command line interface usage examples for the Vite build tool. | Exact payloads, commands, or snippets shown in A collection of command line interface usage examples for the Vite build tool. |
examples/main-vite-command-line-interface-branch-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/main-vite-command-line-interface-branch-vite-cli-optimize-command-usage.text | An example demonstrating the usage of the vite optimize command with a root directory argument. | Exact payloads, commands, or snippets shown in An example demonstrating the usage of the vite optimize command with a root directory argument. |
examples/main-vite-command-line-interface-branch-vite-cli-preview-command-usage.text | A text example demonstrating the usage of the vite preview command with an optional root directory argument. | Exact payloads, commands, or snippets shown in A text 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://main.vite.dev/guide/cli