firestore1 firebase react setup 및 firestore 데이터 가져오기 설치 npm install --save firebase firebase 클래스 선언 파이어베이스 클래스를 선언한다. 파이어베이스에 받은 정보들을 config에 넣는다. import * as firebase from "firebase/app"; // Add the Firebase products that you want to use import "firebase/auth"; import "firebase/firestore"; var firebaseConfig = { apiKey: "api-key", authDomain: "project-id.firebaseapp.com", databaseURL: "https://project-id.firebaseio.com", projectId: "project-id", .. 2020. 3. 20. 이전 1 다음