firebase開發帶後臺的網站

一、https://console.firebase.google.com/

創建項目、firestore

二、cmd

firebase login

進入firebase項目目錄

firebase init

 

 

tips:國內網絡問題,全選配置。

生成firebase.json

public文件夾默認有index.html、404.html;

html裏需要帶上firebase腳本

 

firebase deploy --only hosting:fengluzhe

https://fengluzhe.web.app/index.html(free & 靜態服務器 & 谷歌的服務國內不搭代理無法使用)

 

next:node 數據庫跑起來

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章