How to update a file that I deployed to Firebase Hosting?

后端 未结 3 901
闹比i
闹比i 2020-12-30 04:27

On deploying my app to Firebase, I am getting this message:

You\'re seeing this because you\'ve successfully setup Firebase Hosting. Now it\'s time to

3条回答
  •  温柔的废话
    2020-12-30 05:03

    Its a simple solution. This message is caused by the index.html file in your public folder being replaced with the index.html file provided by firebase. All you have to do is navigate to the directory of your web app folder on your terminal and type in $ rm .firebaserc then $ firebase init after you've completed the firebase initialization, replace the new index.html file with the one inside the public folder and then type $ firebase deploy

提交回复
热议问题