我成功地将 Angular 应用程序部署到 Github Pages:
ng add angular-cli-ghpages
ng deploy --base-href=https://[username].github.io/[repo]/ --name=[username] --email=[email]
它一直有效,直到我想部署新的更改并使用ng deploy
.
之后网站一片空白,重复上面的命令并没有改变任何东西。这里可能是什么原因?
回购: https ://github.com/JoseTurron/flight-booking-cdv
GH 页面: https ://joseturron.github.io/flight-booking-cdv/