npm create vite@latest
cd nume-proiect
npm install
git init
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/utilizator/nume-proiect.git
git push -u origin main
"scripts": {
"build": "vite build",
"deploy": "gh-pages -d dist"
}
npm install gh-pages --save-dev
npm run build
npm run deploy
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter