我尝试构建 angular-tou-of-heroes 应用程序并将其部署到 github,但路径中总是出现重复的应用程序名称。有人可以帮我解决这个问题吗?
我的构建命令是 ng build --prod --output-path docs --base-href angular-tour-of-heroes 我从 Github /doc 目录部署。单击链接时,它会一直重定向到流动路径,其中有两个英雄之旅 https://frankxiao008.github.io/angular-tour-of-heroes/angular-tour-of-heroes/
这是我的代码的 Github 存储库链接。 https://github.com/frankxiao008/angular-tour-of-heroes
我按照此 说明在此处输入图像描述