How can I deploy an Angular 2 application on tomcat server (Windows Server 2012)

后端 未结 5 1728
情话喂你
情话喂你 2020-12-28 08:57

I\'m new in AngularJS 2 framework and I\'m stuck!

I want to deploy an application (quickstart for example) on a Windows Server 2012. I have already installed Apache

5条回答
  •  忘掉有多难
    2020-12-28 09:40

    You can change one place in the index.html:
    Make the base href to be your relative path form webapps folder in tomcat to the folder that includes the index.html of your angular app.

    In your case, change it to:
    No other changes are needed.

提交回复
热议问题