Skip to content
Permalink
Browse files
Merge pull request #9874 from dmartinjs/patch-3
Generate custom-elements.json from Stencil
  • Loading branch information
shilman committed Feb 25, 2020
1 parent 1995d87 commit d28e4a3b078e593c19c6154f856c88b622ba3d72
Showing with 10 additions and 1 deletion.
  1. +10 −1 addons/docs/web-components/README.md
@@ -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
{

0 comments on commit d28e4a3

Please sign in to comment.