Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

ng add @angular/seo

未關閉
#12,120 23 則留言 30 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
angular, typescript
領域
cli, tooling

研究方向

首先檢視 Angular CLI schematics 區域,以及 issue 中描述的 ng add 流程。將需求拆分為列出的 SEO 功能—robots.txt、sitemap.xml、crawler polyfills、錯誤記錄與 noindex 處理—並在進行任何變更前釐清範圍與驗收標準;未列出任何檔案或測試。

由索引模型根據 Issue 內容生成。

描述

area: @schematics/angular feature feature: under consideration

From @IgorMinar on April 18, 2018 10:7

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [x] feature request
Area
- [ ] devkit
- [x] schematics
Versions

v6

Desired functionality

I'd like to be able to invoke ng add @angular/seo and have the CLI make my application search engine friendly. Initially I'd like to see the following feature provided by the schematics:

  • generate robots.txt with no rules but a simple instructions/link on how to setup blacklist rules
  • generate sitemap.xml with similar documentation/links as in robots.txt
  • add code that would feature detect and conditionally load polyfills needed by the crawlers
  • setup error logging via global error handler with an option to redirect the output to a remote server
  • provide facilities to easily add and remove the noindex metadata to emulate the HTTP 404 and 500 status codes
Mention any other details that might be useful

Copied from original issue: angular/devkit#729

主要語言
TypeScript
星號
27k
分支
11.8k
平均合併
17 小時 21 分鐘
30 天內合併 PR
181

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

angular/angular-cli 的其他 Issue

查看 angular/angular-cli 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。