firebase-hosting-basics by firebase/agent-skills
npx skills add https://github.com/firebase/agent-skills --skill firebase-hosting-basics此技能提供了使用 Firebase Hosting 的说明和参考,Firebase Hosting 是一项为您的 Web 应用、静态和动态内容以及微服务提供的快速、安全的托管服务。
Firebase Hosting 为开发者提供生产级的 Web 内容托管服务。只需一个命令,您就可以部署 Web 应用,并通过全球 CDN(内容分发网络)提供静态和动态内容。
主要特性:
在以下情况下选择 Firebase Hosting:
在以下情况下选择 Firebase App Hosting:
firebase.json)有关配置 Hosting 行为的详细信息,包括公共目录、重定向、重写和标头,请参阅 configuration.md。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
有关部署站点、使用预览通道和管理版本的说明,请参阅 deploying.md。
要在本地测试您的应用:
npx -y firebase-tools@latest emulators:start --only hosting
默认情况下,这将在 http://localhost:5000 上提供您的应用。
每周安装次数
2.5K
代码仓库
GitHub 星标数
182
首次出现
2026年2月17日
安全审计
安装于
gemini-cli2.4K
codex1.5K
opencode1.5K
github-copilot1.5K
amp1.5K
kimi-cli1.5K
This skill provides instructions and references for working with Firebase Hosting, a fast and secure hosting service for your web app, static and dynamic content, and microservices.
Firebase Hosting provides production-grade web content hosting for developers. With a single command, you can deploy web apps and serve both static and dynamic content to a global CDN (content delivery network).
Key Features:
Choose Firebase Hosting if:
Choose Firebase App Hosting if:
firebase.json)For details on configuring Hosting behavior, including public directories, redirects, rewrites, and headers, see configuration.md.
For instructions on deploying your site, using preview channels, and managing releases, see deploying.md.
To test your app locally:
npx -y firebase-tools@latest emulators:start --only hosting
This serves your app at http://localhost:5000 by default.
Weekly Installs
2.5K
Repository
GitHub Stars
182
First Seen
Feb 17, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli2.4K
codex1.5K
opencode1.5K
github-copilot1.5K
amp1.5K
kimi-cli1.5K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装