Skip to content

Commit

Permalink
Merge pull request #9874 from dmartinjs/patch-3
Browse files Browse the repository at this point in the history
Generate custom-elements.json from Stencil
  • Loading branch information
shilman committed Feb 25, 2020
1 parent 1995d87 commit d28e4a3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion addons/docs/web-components/README.md
Expand Up @@ -35,7 +35,16 @@ Known analyzers that output `custom-elements.json`:
- [stenciljs](https://stenciljs.com/)
- Supports Stencil (but does not have all metadata)

It basically looks like this:
To generate this file with Stencil, add `docs-vscode` to outputTargets in `stencil.config.ts`:

```
{
type: 'docs-vscode',
file: 'custom-elements.json'
},
```

The file looks somewthing like this:

```json
{
Expand Down

0 comments on commit d28e4a3

Please sign in to comment.