Angular-cli: Github pages deploy problem with path

Created on 26 Oct 2016  路  4Comments  路  Source: angular/angular-cli

In my project I put angular into subfolder and after github pages deploy
I have got wrong urls in the released application.
https://github.com/kodiua/ng-europe-hackaton
https://kodiua.github.io/ng-europe-hackaton/ng-app/

more info

Most helpful comment

Heya, I think you can fix this with the --base-href flag. Can you try ng github-pages:deploy --base-href="ng-europe-hackaton/ng-app/"?

All 4 comments

Same here

Heya, I think you can fix this with the --base-href flag. Can you try ng github-pages:deploy --base-href="ng-europe-hackaton/ng-app/"?

Closing as inactive.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings