Issue
When i am deploying my angular app in tomcat it creates two filename in the url leads to 404 error.I have used the command ng build --base-href=usersfront. Please help me with the issue.
Solution
Follow bellow steps
ng build --base-href=/userfront/
- After successfully build the project
- Create
userfront
folder inside tomcatweb-apps
and copy all files(html, css and js) fromdist
folder touserfront
folder. - And Try with this url http://localhost:8080/userfront/index.html
Answered By - Santosh Shinde Answer Checked By - Gilberto Lyons (PHPFixing Admin)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.