apacheangularhtdocs

How to deploy Angular 4 app to apache htdocs?


Hi i would like to know how to deploy Angular 4 app to apache's htdocs. I tried copying the whole content of the project and do ng --build but still not working, please help Thanks


Solution

  • use this command

    ng build --base-href .
    

    & Then copy the dist