Dynamic, interactive user interface
Small reusable components
- tree of components with App being the root
Create App
VIte
npm create vite@latest
# follow instructionsThis will create a subfolder with the name defined
In that directory, run to install dependencies
npm install
npm run devStructure
node_modules/ # node dependencies
public/ # images, stylesheets
src/ # code
index.htmlpackage.jsondependencies neededtsconfig.jsononly for TS, how is it complied
Support an image is located in ./public/vite.svg, write <img src=vite.svg> relative to the public path