Jul 19, 2024
npm create vite@latest
or specific version 4.1.0
npm install
code .
npm run dev
http://localhost:<port>
{}
&&
for conditional renderingmap()
onClick
for click eventsuseState
hook for state managementnpm install bootstrap
import 'bootstrap/dist/css/bootstrap.css'
children
, color
, onClick
onClose
callback)