问题
I created an AngularJS app with the yeoman angular generator. Now I want to host it using Apache tomcat.
I already ran "grunt build" and have all my assets ready in the "dist"-folder. Is there a way to create a .war-file or can I just copy the files to a folder inside tomcat?
回答1:
Just copy paste your all files in your project folder e.g. $TOMCAT_PATH/webapps/your-project-root/
Cheers!!
来源:https://stackoverflow.com/questions/33785665/deploy-angularjs-app-on-tomcat