有没有办法在不使用控制台的情况下向我的 Firebase 项目添加新网站?
有没有办法让我在 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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.