I created a testing project by Angular 6 and Tried to deploy it on Google Firebase. I followed these instructions sequence to proceed.
Google Login
Create Firebase new project
Go to Firebase console -> Hosting -> Get Start
Install firebase tools by NPM
Move to the Project Directory
Check the output by
ng serve
Build the project by
ng build --prod
Login to the project by
sudo firebase login
Initialize project by 1sudo firebase init1 with default values (default folder set to Dist and single-page-app: Yes)
delete the Dist folder and re build
deploy project by
sudo firebase deploy
After doing the sequence, when I move to the particular domain provided by firebase, It showing the 404 Page Not Found Error. I'm pretty sure that the instruction sequence is correct. What is the wrong here?