Angular build & deployment is successful, but showing Page not found error

Site - https://dazzling-lichterman-9ed1d8.netlify.app
Build successfully published, butfacing page not found error.
Tried 3 approaches as suggested in community answers

  1. Add _redirects file and its reference in assets array of angular.json
  2. Checked after downloading if index.html is there and valid
  3. Changed published directory to dist

Solved this issue:
Anyone using angular 8 needs to supply the publish directory value by reading from the angular.json build outputPath which is dist/{project-name} and if you are using older versions, it should be dist which is the value of outDir that you can read from .angular-cli.json.
Thanks to User Dejazmach - Stack Overflow

1 Like