更新时间:2022-12-07 18:49:53
问题出在index.html <base>
the issue is in index.html <base>
请将<base href="/root/beans3/dist/">
更改为<base href="/">
因为您要在配置中将DocumentRoot
设置为该路径.
please change <base href="/root/beans3/dist/">
to <base href="/">
since you are setting the DocumentRoot
in your config to that path.
或删除-bh <path>
并仅使用ng build --prod