Uncaught TypeError: firebase.auth is not a function

后端 未结 2 1370
臣服心动
臣服心动 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 23:06

    You need to add firebase auth to the js file:

     
      
    

    You can check here for all available products to add:

    https://firebase.google.com/docs/web/setup#available-libraries

提交回复
热议问题