有没有办法在不使用控制台的情况下向我的 Firebase 项目添加新网站?

发布于 2025-01-14 12:16:40 字数 54 浏览 3 评论 0原文

有没有办法让我在 Firebase 项目中添加/创建新网站,就像使用 CLI 部署新项目一样。

Is there a way for me to add/create a new site in my Firebase project in the same way I deploy new projects using the CLI.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

万人眼中万个我 2025-01-21 12:16:40

Firebase CLI 具有 firebaseHosting:sites:create 命令看起来很有希望。看起来包装了相应的 /projects .sites/create REST API

目前似乎不可能(根据 这个问题)是通过CLI或REST API添加自定义域。目前这只能通过 Firebase 控制台实现。

The Firebase CLI has a firebase hosting:sites:create command that looks promising. It looks like that wraps the corresponding /projects.sites/create REST API.

What doesn't seem possible at the moment (according to the answers to this question) is to add a custom domain through the CLI or REST API. That is currently only possible through the Firebase console.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文