- npm installed on Mac, Ubuntu
npm install -g parcel-bundler
git clone [email protected]:huychau/parcel-sass-pug-firebase.git
- You can update
styles
,templates
,scripts
structures follow your patterns. - Update your Firbase configs in
.env
At your directory root, run:
npm install
npm start
Open on web: http://localhost:1234/index.html
npm run-script build
- Install Firebase CLI
npm install -g firebase-tools
- Update
.firbaserc
to your configs - Login Firebase
firebase login
- Init firebase
firebase init
(No need this step if you not sure about initialing) - Choose project
firebase use <project-id>
npm run-script deploy
Open on web: https://parcel-sass-pug-firebase.firebaseapp.com
Note: Live-reload is supported