I have deployed my angular 5 apps on tomcat. The deep link routing like (localhost:8080/emp/1) works fine but direct link routing like(localhost:8080/aboutUs) doesn't work.
It throws a 404.
I am creating my build and copying all the files from dist folder to the tomcat webapps/root folder and created a .htaccess file mentioned under https://angular.io/guide/deployment.
index.htmlas well? - Kelvin Lai