79236193

Date: 2024-11-29 07:41:51
Score: 1.5
Natty:
Report link

? Are you ready to proceed? Yes

=== Hosting Setup

Your public directory is the folder (relative to your project directory) that will contain Hosting assets to be uploaded with firebase deploy. If you have a build process for your assets, use your build's output directory.

? What do you want to use as your public directory? dist (Note it is either dist or build depends what you get after npm run build) ? Configure as a single-page app (rewrite all urls to /index.html)? Yes ? Set up automatic builds and deploys with GitHub? No

i Writing configuration info to firebase.json... i Writing project information to .firebaserc...

After that: npm run build

now simply copy your index.html from dist or build folder to public folder

then firebase deploy

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ahmed Iftiaz