【发布时间】:2018-10-25 21:27:21
【问题描述】:
我正在寻找有关如何在我的 Angular 6.0 项目上正确设置 firebase-tools 托管的教程,而我发现的总是这样。
- firebase init
- then select the Hosting
- What do you want to use as your public directory? dist
- Configure as a single-page app (rewrite all urls to /index.html)? Yes
- Overwrite? No
- ng build --prod
- firebase deploy
但是在这样做之后,这就是我所拥有的。
【问题讨论】:
标签: angular firebase-hosting firebase-tools