We're sunsetting Firebase Studio on March 22, 2027 . To continue building and deploying new versions of your app, migrate your Firebase Studio projects to Google AI Studio or Google Antigravity before that date. Learn how to migrate.
Any apps already deployed to Firebase will continue to run even after the sunset date. Also, all our core Firebase products (like Firestore, Authentication, App Hosting, etc.) are not impacted by the Firebase Studio sunset.
提供意見
開始使用現有專案
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Firebase Studio 提供簡化的方式,可將現有的網頁應用程式專案匯入 Firebase Studio 工作區,讓您繼續使用現有專案,並享有 Firebase Studio 的 AI 輔助功能,以及簡化的開發、部署和監控功能。
您可以從原始碼存放區 (GitHub、GitLab 或 Bitbucket) 匯入專案,也可以使用 Builder.io Figma 外掛程式 從 Figma 匯入,或是從本機封存檔匯入。Firebase Studio 支援匯入壓縮的 tar 檔案和大小低於 100 MiB 的 zip 檔案。
您也可以複製現有專案,建立副本。
開始使用
從來源控管匯入
上傳專案
使用 Builder.io 外掛程式從 Figma 匯入
複製現有專案
步驟 1:匯入專案
登入 Google 帳戶並開啟
Firebase Studio 。
按一下「匯入專案」 。系統會顯示「Import project」 對話方塊。
在「Repo URL」(存放區網址) 欄位中,輸入 GitHub、GitLab 或 Bitbucket 存放區網址。
請輸入專案名稱。
如果您要匯入 Flutter 專案,請啟用「這是 Flutter 應用程式」 。否則請取消勾選核取方塊。
按一下「匯入」 。
如果存放區是私人的,系統會提示您向相應的供應商驗證身分:
如果是 GitHub,請按照提示複製存取權杖。
如果是 GitLab,您可以使用帳戶密碼或建立個人帳戶權杖
如果是 Bitbucket,請使用使用者名稱 (而非電子郵件地址) 和應用程式密碼 進行驗證。
步驟 2:安裝依附元件
根據預設,Firebase Studio 會在匯入專案時安裝依附元件,因此您需要在首次匯入後手動執行這項操作。
舉例來說,如果您匯入 Flutter 應用程式,應在終端機中執行 flutter pub get,或是針對 JavaScript 或 TypeScript 應用程式執行 npm install。
如要為範本日後的所有使用者和匯入作業變更這項設定,請在專案存放區的 dev.nix 檔案中新增 onCreate 勾點 。您可以設定 onCreate,執行適合專案的建構指令 (例如 npm install 或 flutter pub
get)。
設定完成後,每當使用者將存放區匯入 Firebase Studio 時,系統就會自動安裝依附元件。
後續步驟
提供意見
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權 ,程式碼範例則為阿帕契 2.0 授權 。詳情請參閱《Google Developers 網站政策 》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-03-15 (世界標準時間)。
想進一步說明嗎?
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-03-15 (世界標準時間)。"],[],[]]