If the app uses the Angular router, you must configure the server to return the application's host page (index.html) when asked for a file that it does not have.
- Add web.config file in
src/
folder - add web.config file name in assets of
angular.json
file so it will available in output folder after build
Must be set <base href=""/>
in index.html