该文件不存在,并且在 当前目录或根目录中的404.html。
我已经运行了以下代码:
> ng build --prod
> firebase login
> firebase init
? Are you ready to proceed? Yes
? Which Firebase CLI features do you want to setup for this folder? Press Space to select features, then Enter to confi rm your choices. Hosting: Configure and deploy Firebase Hosting sites
然后提供目录:
? What do you want to use as your public directory? dist/ishop
? Configure as a single-page app (rewrite all urls to /index.html)? Yes
最后:
firebase deploy