mkdir my-new-project
cd my-new-project
git init
echo node_modules/ >> .gitignore
echo dist/ >> .gitignore
echo .cache/ >> .gitignore
npm init -y
- Add
"start": "parcel index.html"
to"scripts"
inpackage.json
npm i --save-dev parcel
npm i --save-dev node-sass
touch index.html
git add .
git commit -m "Initial commit"
npm start
- Visit localhost:1234