Ionic 2 + Firebase Auth

时间:2017-03-13 19:44:25

标签: angular firebase ionic2 firebase-authentication

firebase身份验证新手,我尝试在构造函数中传入FirebaseAuth对象作为参数,但我一直收到错误,因为它找不到名称' FirebaseAuth'。

我的导入似乎是正确的,我已经安装了必要的依赖项。

enter image description here

知道为什么这会给我一个错误吗?

1 个答案:

答案 0 :(得分:1)

尝试import {FirebaseAuth} from 'angularfire2';

基本上放弃@