Deploy Angular 2 to Apache Server

后端 未结 8 1960
半阙折子戏
半阙折子戏 2020-12-07 16:47

I want to deploy an Angular 2 application on an Apache server. I\'ve read various guides like this and this but none of them is working. I have npm and ng

8条回答
  •  醉梦人生
    2020-12-07 17:31

    Change base tag in index.html file

    Run:

    ng build --prod -bh "http://example.net"
    

提交回复
热议问题