Next Generation Frontend Tooling
Vite
Bundlers
Compilers/Transpilers
Loaders
Dev Servers
Vite
Vite
You only get what you use!
Vite
Package all the code and leave only the necessary parts
Vite
Code that every browser/engine can understand
Vite
Vite
Vite
Vite
Vite
Vite
Vite
HMR = Hot module replacement
Vite
Vite
Vite
Vite
Bundlers
Compilers/Transpilers
Loaders
Dev Servers
Vite
Dev Server (HMR)
Compilers/Transpilers (ES+)
Loaders
True On-Demand
Vite
True On-Demand
Vite
Vite
$ npm create vite@latest
Vite
$ npm install -D sass
<style lang="scss">
p {
font-size: 24px;
code {
font-style: italic;
}
}
</style>
Vite
$ npm create vite@latest my-react-app -- --template react
Vite
Vue Vite
Vite
$ $ npm create vite@latest my-preact-app -- --template preact
Vite
Vite