-
tomcat7 angular4 depolyAngular JS 2018. 11. 27. 09:52
If you're using Angular CLI, run the build command as follows (note the period at the end):
ng build -prod --base-href .
This will build the bundles into the dist directory of your project. Copy the dist directory to the webapps/ROOT dir of your Tomcat installation dir.
Start Tomcat and open the following URL in your browser: http://localhost:8080/dist
This is pretty much it.
'Angular JS' 카테고리의 다른 글
$log 서비스 주입 (0) 2019.01.29 anuglar+spring (0) 2019.01.18 FormData data and file Upload (0) 2018.11.26 angular js 예제 프로그램 모음 (0) 2017.05.28 ui-grid rowSelect (0) 2017.04.25