ember-learn / ember-learn/ember-cli-addon-docs
Ts file snippet is not rendering
- Lingua principale
- JavaScript
- Stelle
- 172
- Fork
- 142
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**Steps to reproduce the behavior:**
1. Ember install ember-cli-typescript --save
2. Create a route `docs/button`
3. In `docs/button/controller.ts`
```
// BEGIN-SNIPPET docs-button.ts
@action
onClick(){
}
// END-SNIPPET
```
4. In `docs/button/template.hbs`
`{{demo.snippet name='docs-button.ts'}}`
**Version details**
```
"ember-cli": "~3.8.1",
"ember-source": "~3.8.0",
"ember-cli-addon-docs": "^0.6.7",
"ember-cli-typescript": "^2.0.0",
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Reproduce the issue using docs/button/controller.ts and docs/button/template.hbs with the listed Ember and ember-cli-addon-docs versions. Start at the demo.snippet invocation and trace how the docs-button.ts TypeScript snippet is discovered and rendered; done means the snippet displays correctly.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, typescript
- Ambito
- documentation, frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100