tomcat7 - How to run Angular 4 project without npm server and using tomcat in local machine -
i want run angular 4 project using tomcat. please 1 can me in this.
if you're using angular cli, run build command follows (note period @ end):
ng build -prod --base-href .
this build bundles dist directory of project. copy dist directory webapps/root dir of tomcat installation dir.
start tomcat , open following url in browser: http://localhost:8080/dist
this pretty it.
Comments
Post a Comment