Open a terminal in project root folder Run the following command to install firebase-tools globally
npm install -g firebase-tools
firebase login
firebase projects:list
firebase use <project_id>
firebase init
Select Hosting and press spacebar to select it. Press enter to confirm your choice.
npm run build
Note: build output directory is build, firebase.json is configured to use this directory as public directory.
firebase deploy