ng add @angular/seo
- Vorherrschende Sprache
- TypeScript
- Sterne
- 27k
- Forks
- 11.8k
- Ø Merge
- 14 Std. 23 Min.
- Gemergte PRs (30 T.)
- 162
Beschreibung
_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_
Beitragsleitfaden
Rechercherichtung
Beginne mit der Überprüfung des Bereichs der Angular CLI schematics und des im Issue beschriebenen `ng add`-Ablaufs. Unterteile die Anfrage in die aufgeführten SEO-Features—robots.txt, sitemap.xml, Crawler-Polyfills, Fehlerprotokollierung und noindex-Behandlung—und kläre Umfang und Akzeptanzkriterien, bevor du etwas änderst; es werden keine Dateien oder Tests genannt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- cli, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 25/100