我正在寻找关于如何firebase-tools在我的角度6.0项目上正确设置托管的教程,我发现的总是这样.
- 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
Run Code Online (Sandbox Code Playgroud)
但在这之后,这总是我所拥有的.
背景
我的尝试 有几篇 Stack Overflow 帖子没有解决这个问题。这些包括:
build/web在运行 firebase init 命令时使用遵循的步骤
au.com.mydomain(mydomain我拥有的域名在哪里)。flutter create web。cd web和flutter run”。cd web和flutter run. 该应用程序在 …