Vite in 100 Seconds
Fireship
youtube· 2:27standard
1.Vite: A JavaScript Build Tool
0:00 / 0:26This chapter introduces Vite as a JavaScript build tool that simplifies front-end web application development. It highlights Vite's core functions: serving code locally during development and bundling assets for production, contrasting it with tools like Webpack and explaining its origin by Evan You.
- Vite
- JavaScript build tool
- Webpack
- Evan You
What's inside this course
- 0:00
1. Vite: A JavaScript Build Tool
This chapter introduces Vite as a JavaScript build tool that simplifies front-end web application development. It highlights Vite's core functions: serving code locally during development and bundling assets for production, contrasting it with tools like Webpack and explaining its origin by Evan You.
- 0:26
2. Leveraging Native ES Modules
This chapter explains how Vite leverages native ES Modules in the browser to achieve instant code loading, regardless of application size. It discusses the historical context of JavaScript module bundling, the introduction of ECMAScript modules, and how Vite uses them to provide a fast development experience with features like Hot Module Replacement.
- 1:41
3. Getting Started and Development Workflow
This chapter demonstrates how to get started with Vite using `npm init vite` and choose a front-end framework. It covers the `vite.config` file, Vite's plugin ecosystem, and how to run the development server with `npm run dev`. It also illustrates how Vite serves actual source code and uses esbuild for faster TypeScript transpilation, maintaining application state during development.
Every chapter ends with a checkpoint (quiz, flashcards, retell, diagram, or prediction) and the course closes with a final boss-fight. More courses →