Prompt Buddy logoPrompt Buddy

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.

Import to Prompt Buddy

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

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/vite-command-line-interface-workflow-guide.mdA 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.textA 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.textA 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.textAn 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.textAn 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

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://vite.dev/guide/cli