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 摘要。