Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need to change firebase config #13

Open
vitaly87 opened this issue Jun 30, 2021 · 1 comment
Open

need to change firebase config #13

vitaly87 opened this issue Jun 30, 2021 · 1 comment

Comments

@vitaly87
Copy link

need to change firebase config to

import firebase from "firebase/app";
import "firebase/auth";
import "firebase/firestore";

@WilliamD99
Copy link

WilliamD99 commented Apr 23, 2022

for anyone using firebase ver 9, this works for me:

import firebase from 'firebase/compat/app
import 'firebase/compat/auth
import 'firebase/compat/firestore

const config = {...}

const client = firebase.initializeApp(config)

export default client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants