title: Angular 6.0 firebase hosting deploy not working
body: <p>I am looking for a tutorial on how to properly setup the <code>firebase-tools</code> hosting on my angular 6.0 projects, and what I found is always like this.</p>
  
  <pre><code>- firebase init 
  - then select the Hosting
  - What do you want to use as your public directory? dist
  - Configure as a single-page app (rewrite all urls to /index.html)? Yes
  - Overwrite? No
  - ng build --prod
  - firebase deploy
  </code></pre>
  
  <p>but after doing this, this is always what I've got.</p>
  
  <p><a href="https://i.stack.imgur.com/wtqdR.png" rel="noreferrer"><img src="https://i.stack.imgur.com/wtqdR.png" alt="default"></a></p>