无法在 Github 页面上使用 Angular CLI 进行部署,收到 404

Cannot deploy with Angular CLI on Github Pages, receive 404

我一直在尝试让我的简单 Angular 2 页面在部署时加载,但我无法访问该页面。我不断收到未找到的 404 页面。我试过查看堆栈溢出解决方案,但 none 对我有用。

我的代码可以在这里找到https://github.com/cpp6d/website

请告诉我我做错了什么

您的网站运行良好。

它是生活和工作here.


编辑:

看起来你用 this commit.

修复了它