Exploring Hosting Tab

1. Select the hosting tab.

2. To host your site with Firebase Hosting, you need the Firebase CLI (a command line tool).  (

      This Step should be done in terminal .

npm install -g firebase-tools

3 .Initialize your project 

firebase login
firebase init

  3.1 Select hosting and press enter

   

3.2 It will ask follow up questions 

      3.2.1 What do you want to use as your public directory? (Type name of folder where public files are stored)

      3.2.2  Configure as a single-page app (rewrite all urls to /index.html)? (Type yes if its single page website)

     

 

 

 

 

Discussion