angular / angular/angular-cli

ng add @angular/seo

オープン
#12,120 コメント 23 件 リアクション 30 件 担当者 0 名 GitHub で見る
area: @schematics/angular feature feature: under consideration
主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
14時間 23分
マージ済み PR(30日)
162

説明

_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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず Angular CLI の schematics 領域と、issue に記載された `ng add` フローを確認してください。依頼を列挙された SEO 機能—robots.txt、sitemap.xml、crawler polyfills、エラーロギング、noindex の処理—に分解し、何かを変更する前にスコープと受け入れ基準を明確にしてください。ファイルやテストは指定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
cli, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。