// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import is not yet supported in RunKit.
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..0 and later, measurementId is optional
20
const firebaseConfig = {
apiKey: "AIzaSyAG_Fk7ftN5dN7WzmvR4ZKXlDe8aYCZwPw",
authDomain: "vscode-563f2.firebaseapp.com",
projectId: "vscode-563f2",
storageBucket: "vscode-563f2.appspot.com",
messagingSenderId: "675466337672",
appId: "1:675466337672:web:ea15fe47d0aee63c2aee3d",
measurementId: "G-RZ4LJN5S1L"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter