mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 23:11:23 +08:00
Generate custom-elements.json from Stencil
Add more informations about how to generate a valid custom-elements.json from Stencil
This commit is contained in:
parent
ab9c9cb589
commit
d9e91e59c5
@ -35,6 +35,15 @@ Known analyzers that output `custom-elements.json`:
|
||||
- [stenciljs](https://stenciljs.com/)
|
||||
- Supports Stencil (but does not have all metadata)
|
||||
|
||||
To generate this file with Stencil,
|
||||
add `docs-vscode` to outputTargets in the stencil.config.ts
|
||||
```
|
||||
{
|
||||
type: 'docs-vscode',
|
||||
file: 'custom-elements.json'
|
||||
},
|
||||
```
|
||||
|
||||
It basically looks like this:
|
||||
|
||||
```json
|
||||
|
Loading…
x
Reference in New Issue
Block a user