🌐Vite
Also known as Vite.js, ViteJS
A fast build tool for web projects. Saved changes show up at once.
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.
Example
Jack starts a new React app with Vite. The dev server is ready in under a second, and each save shows up instantly.
Why it matters
A fast feedback loop keeps you focused. Vite made that the norm for web work.
Definition
Example code
console
$ npm create vite@latest my-app
$ cd my-app && npm install
$ npm run devCommon mistake
Key takeaways
- 1Instant dev server. Changes show as you save.
- 2Bundles for release. Small files for the real site.
- 3Works with most frameworks. React, Vue, Svelte and more.