You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
789 B
Plaintext
21 lines
789 B
Plaintext
2 years ago
|
// Import the functions you need from the SDKs you need
|
||
|
import { initializeApp } from "firebase/app";
|
||
|
import { getAnalytics } from "firebase/analytics";
|
||
|
// TODO: Add SDKs for Firebase products that you want to use
|
||
|
// https://firebase.google.com/docs/web/setup#available-libraries
|
||
|
|
||
|
// Your web app's Firebase configuration
|
||
|
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
|
||
|
const firebaseConfig = {
|
||
|
apiKey: "xxxxxxxxxxxxxxxx",
|
||
|
authDomain: "xxxxxxxxxxxxxxxx.firebaseapp.com",
|
||
|
projectId: "xxxxxxxxxxxxxxxx",
|
||
|
storageBucket: "xxxxxxxxxxxxxxxx.appspot.com",
|
||
|
messagingSenderId: "xxxxxxxxxxxxxxxx",
|
||
|
appId: "xxxxxxxxxxxxxxxx",
|
||
|
measurementId: "xxxxxxxxxxxxxxxx"
|
||
|
};
|
||
|
|
||
|
// Initialize Firebase
|
||
|
const app = initializeApp(firebaseConfig);
|
||
|
const analytics = getAnalytics(app);
|