gpt4 book ai didi

apache - 如何将 Angular 4 应用程序部署到 apache htdocs?

转载 作者:行者123 更新时间:2023-12-01 23:40:35 26 4
gpt4 key购买 nike

嗨,我想知道如何将 Angular 4 应用程序部署到 apache 的 htdocs。我尝试复制项目的全部内容并执行 ng --build 但仍然无法正常工作,请帮助谢谢

最佳答案

使用此命令

ng build --base-href .

然后复制dist

关于apache - 如何将 Angular 4 应用程序部署到 apache htdocs?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44650724/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com