Uncaught TypeError: firebase.auth is not a function

后端 未结 2 1408
臣服心动
臣服心动 2021-01-27 22:10

I try to build an authentification app with firebase (email & password) but i have problem with firebase methods. When I call firebase.auth, they said \"it\'s not a function

2条回答
  •  梦谈多话
    2021-01-27 22:52

    Firebase products (eg. Auth) also need to be downloaded from the CDN

    
    

    Reference: https://firebase.google.com/docs/web/setup

提交回复
热议问题