angular / angular/angular-cli

ng add @angular/seo

Aberta
#12,120 23 comentários 30 reações 0 responsáveis Ver no GitHub
area: @schematics/angular feature feature: under consideration
Linguagem predominante
TypeScript
Estrelas
27k
Forks
11.8k
Merge médio
14h 23min
PRs com merge (30d)
162

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece revisando a área de schematics do Angular CLI e o fluxo de `ng add` descrito na issue. Divida a solicitação nos recursos de SEO listados—robots.txt, sitemap.xml, polyfills de crawler, registro de erros e tratamento de noindex—e esclareça o escopo e os critérios de aceitação antes de alterar qualquer coisa; nenhum arquivo ou teste é mencionado.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
angular, typescript
Domínio
cli, tooling
Tipo de issue
Funcionalidade
Dificuldade
5/5
Tempo estimado
Mais de uma semana
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
25/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.