Deploy Angular app to github.io pagesΒΆ Create application using angular-cli ...... Bashnpm install -g @angular/cli npm new <appname> Install angular-cli-ghpages Bashnpm install -g angular-cli-ghpages Build Bashng build --prod --base-href="https://<username>.github.io/<reponame>/" Deploy Bashnpx angular-cli-ghpages --dir=dist/apps/<appname> Change repo setting to use gh-pages: