Skip to content
Ryan Waskiewicz edited this page Oct 2, 2024 · 1 revision

The Purpose of this Output Target

By default, integrated development environments (IDEs) like JetBrains' WebStorm are not aware of a project's custom elements, resulting in a poorer development experience.

The webTypesOutputTarget output target tells Stencil to generate a JSON file that enables auto-completion, hover tooltips, etc., for a project's custom elements in HTML and Vue files. Once the feature is enabled and your IDE is informed of the JSON file's location, web components in HTML and Vue files will have similar Intellisense to that of TSX files:

JetBrains' IntelliJ providing Stencil web component documentation in an HTML file

Clone this wiki locally