用React制作的Instagram Clone 要使其在本地运行: 在src文件夹中添加firebase.js文件 从NPM导入Firebase 添加类似于以下代码: import firebase from "firebase" ; const firebaseApp = firebase . initializeApp ( { apiKey : "your api key" , authDomain : "your auth domain" , databaseURL : "your database URL" , projectId : "your project ID" , storageBucket : "your storage bucket" , messagingSenderId : "your messaging SenderId" ,