我正在运行一个小脚本来构建项目,然后将其复制到tomcat。我告诉angular它将在tomcat下运行的基本目录是什么。
#!/bin/shng build --base-href /angular/ --prodmkdir -p /home/xxx/apache-tomcat-8.0.37/webapps/angularcp -R /home/xxx/angular-clitest/dist/* /home/xxx/apache-tomcat-8.0.37/webapps/angular/
多数民众赞成在运行后,启动tomcat,您可以在以下位置访问它:http:// localhost:8080 /
angular
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)