npm & git commands for new project
Mon Oct 21 2024 11:09:25 GMT+0000 (Coordinated Universal Time)
Saved by
@RAGNA
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
content_copyCOPY
Comments