About Vite
Vite is a modern frontend build tool that delivers an extremely fast development experience through native ES modules and optimized production builds. It provides out-of-the-box support for multiple frameworks and preprocessors with instant hot module replacement.
Key features
- 01Lightning-fast cold start and hot module replacement using native ES modules
- 02Framework-agnostic setup with built-in support for Vue, React, Svelte and others
- 03Optimized production builds powered by Rollup with code splitting and minification
- 04Composable CLI interface and extensible plugin ecosystem
Use cases
- 01Rapidly scaffold and iterate on frontend projects with minimal development feedback delay
- 02Deliver high-performance production builds for modern web applications
- 03Automate frontend resource management and dependency handling in build workflows
Install
Pick your OS or package manager and run the command in a terminal.
Once installed, runvite --versionto confirm it works.
Example commands
Common commands in the order you’d use them.
Details
From the project READMEVite ⚡
Next Generation Frontend Tooling
- 💡 Instant Server Start
- ⚡️ Lightning Fast HMR
- 🛠️ Rich Features
- 📦 Optimized Build
- 🔩 Universal Plugin Interface
- 🔑 Fully Typed APIs
Vite (French word for "quick", pronounced /viːt/, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
-
A dev server that provides rich feature enhancements over native ES modules, for example extremely fast Hot Module Replacement (HMR).
-
A build command that bundles your code with Rolldown, pre-configured to output highly optimized static assets for production.
In addition, Vite is highly extensible via its Plugin API and JavaScript API with full typing support.
Packages
| Package | Version (click for changelogs) |
|---|---|
| vite | |
| @vitejs/plugin-legacy | |
| create-vite |
Contribution
See Contributing Guide.
License
MIT.