firebase-hosting-basics

Deploy and configure web applications on Firebase Hosting using Firebase CLI.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/inehemiasm/AiAssistant --skill firebase-hosting-basics-inehemiasm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-hosting-basics
Source: https://github.com/inehemiasm/AiAssistant/tree/main/.agents/skills/firebase-hosting-basics
Command: npx skills add https://github.com/inehemiasm/AiAssistant --skill firebase-hosting-basics-inehemiasm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers deploy and manage static websites, single page applications, and simple web services on Firebase Hosting without needing to manually configure hosting infrastructure.

Core Features & Use Cases

  • Hosting Configuration: Configure Firebase Hosting behavior including public directories, redirects, rewrites, headers, and URL handling.
  • Deployment Workflows: Deploy production sites, create preview channels, and promote tested versions to live hosting.
  • Use Case: A developer building a React single page application can use this Skill to configure Firebase Hosting, test preview deployments, and publish the application with the correct routing behavior.

Quick Start

Use the firebase-hosting-basics skill to deploy my static web application to Firebase Hosting and configure the required hosting settings.

Frequently Asked Questions about firebase-hosting-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a React single page application to Firebase Hosting?

To deploy a React single page application to Firebase Hosting, configure the hosting settings for public directories and rewrites, then use the Firebase CLI to publish the application with correct routing behavior.

What is the best way to configure redirects and headers for a static site on Firebase?

Configuring redirects, rewrites, and headers for a static site on Firebase requires modifying the Firebase Hosting configuration file to define URL handling rules before deploying via the Firebase CLI.

Can I create preview deployments and promote tested versions to live hosting with Firebase CLI?

Yes, you can create preview channels to test deployments and promote tested versions to live hosting environments using the Firebase CLI for release management workflows.

Does Firebase Hosting support single page application routing without manual server configuration?

Yes, Firebase Hosting supports single page application routing by applying rewrites in the hosting configuration to direct all URLs to your index file, preventing manual server configuration.

How do I manage release workflows and promote a preview deployment to production on Firebase?

Managing release workflows involves creating a preview deployment to test your static site, then using the Firebase CLI to promote the tested version to your live production hosting environment.