filmov
tv
How to build and deploy with Vite JS

Показать описание
What Is Vite? Vite is the French word for fast and is a Javascript development server and bundler that delivers source files over ESM or ES6 modules making it blazing fast in things like start, reload and it also supports Hot Module Reloading or HMR.
Vite is the brain child of Evan You the creator of the Vue JS framework but supports out of the gate building applications with React, Svelte, Preact, Vanilla JS and of course Vue. Typescript is also available for any of the mentioned libs.
Let’s learn by doing. Let’s build and deploy a vanilla js Vite app and talk about some the features of this awesome next generation front end tooling
Table of Contents:
00:00 - What is Vite JS
00:43 - Build and deploy a vite js app
01:45 - Vite js scaffold libs options
02:07 - Switch into project and install deps
02:32 - Structure of a vite js Vanilla install
04:30 - Run the dev server
04:48 - Quick CSS change
05:21 - Run first production build
07:36 - One way to check prod build locally
08:09 - Checking prod build in one step
09:37 - Build a small app vanilla js app
10:51 - Add a simple JS module
12:18 - Import module into main
14:41 - Let's add a second method to our module
18:01 - Helps focus on building your app
18:36 - Preflight steps before we deploy
20:14 - Use surge to deploy the project
21:08 - Check production URL in browser
22:08 - And like that we are live 😉
Vite is the brain child of Evan You the creator of the Vue JS framework but supports out of the gate building applications with React, Svelte, Preact, Vanilla JS and of course Vue. Typescript is also available for any of the mentioned libs.
Let’s learn by doing. Let’s build and deploy a vanilla js Vite app and talk about some the features of this awesome next generation front end tooling
Table of Contents:
00:00 - What is Vite JS
00:43 - Build and deploy a vite js app
01:45 - Vite js scaffold libs options
02:07 - Switch into project and install deps
02:32 - Structure of a vite js Vanilla install
04:30 - Run the dev server
04:48 - Quick CSS change
05:21 - Run first production build
07:36 - One way to check prod build locally
08:09 - Checking prod build in one step
09:37 - Build a small app vanilla js app
10:51 - Add a simple JS module
12:18 - Import module into main
14:41 - Let's add a second method to our module
18:01 - Helps focus on building your app
18:36 - Preflight steps before we deploy
20:14 - Use surge to deploy the project
21:08 - Check production URL in browser
22:08 - And like that we are live 😉
Комментарии