angular / angular/angularfire

Broken imports in route guards documentation examples

未关闭
#3,622 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
7.8k
派生
2.2k
平均合并
22 小时 28 分钟
30 天内合并 PR
6

描述

The examples in [route-guards.md](https://github.com/angular/angularfire/blob/main/site/src/auth/route-guards.md) use the wrong import for the `AuthGuard`. It should be `import { AuthGuard }` instead of `import { AngularFireAuthGuard }`.

贡献指南

打开贡献指南

调研方向

打开 site/src/auth/route-guards.md,检查 route guard 示例及其 import。替换示例中显示的错误 AuthGuard import,然后确认文档始终使用 AuthGuard,而不是 AngularFireAuthGuard。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, firebase, typescript
领域
authentication, documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
50/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。