- Go to https://console.firebase.google.com/
- Create new project
- Go to Project Settings -> Your Apps -> Web App
- Name your app, check
Also set Firebase Hosting
- Follow steps to finish settings eg:
npm install -g firebase-tools
if you don't have it installed - Click
Continue to console
- Install dependencies
yarn
- Run command
firebase login
- Init deployment
firebase init
- Are you ready to proceed? (Y/n)
Y
- Check only
Hosting
option Use existing Project
and select previously created project- What do you want to use as your public directory?
dist
- Configure as a single-page app
N
yarn deploy
- Check
Hosting
section in Firebase console to see deployment log - Create beauty