# Vite

> A fast build tool for web projects. Saved changes show up at once.

**Field:** Software Development  
**Category:** Web Development  
**Also known as:** Vite.js, ViteJS

## Think of it like

Think of it like a cook who makes each dish as you order it. You never wait for the whole menu.

## Definition

Vite is a fast build tool and dev server for web projects. While you work, it serves your files almost as they are, so the page updates the moment you save. When you are ready to ship, it bundles and shrinks everything for the real site. It works with React, Vue, Svelte and plain JavaScript. Its name is French for quick.

## Example

Jack starts a new React app with Vite. The dev server is ready in under a second, and each save shows up instantly.

## Example code

```console
$ npm create vite@latest my-app
$ cd my-app && npm install
$ npm run dev
```

Make a new project, install it and start the dev server.

## Why it matters

A fast feedback loop keeps you focused. Vite made that the norm for web work.

## Common mistake

Assuming the dev server behaves exactly like the built site. Always test the real build before you ship.

## Three principles

- **Instant dev server.** Changes show as you save.
- **Bundles for release.** Small files for the real site.
- **Works with most frameworks.** React, Vue, Svelte and more.

## Related terms

- [JavaScript Bundler](https://learn.benibix.com/term/development/bundler)
- [webpack](https://learn.benibix.com/term/development/webpack)
- [React](https://learn.benibix.com/term/development/react)
- [npm](https://learn.benibix.com/term/development/npm)
- [Scaffolding (Software)](https://learn.benibix.com/term/development/scaffolding-software)

## Told apart from

- [Vite vs webpack](https://learn.benibix.com/compare/vite-vs-webpack): People think Vite and webpack do different jobs, and they do the same one. Both are bundlers that pack your files for the browser. webpack bundles even while you work. Vite skips that step until the final build, so it starts much faster.

## Taught in

- [Task Runners and Scaffolding](https://learn.benibix.com/learn/development-tools/task-runners-and-scaffolding): Coding Tools, 13/13

---

Source: https://learn.benibix.com/term/development/vite
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
