
Description
CEM Tools is a set of plugins and generators built on the Custom Elements Manifest, the description of web components that these tools read. Each tool does one job to make custom elements easier to use. Some tools add information to the manifest: custom JSDoc tags are mapped to properties, deprecated items are marked, and inherited class members, attributes, CSS parts, CSS variables, slots and events are carried over from parent classes. Others generate files for a target environment, including web-types.json for JetBrains IDEs, HTML and CSS data for VS Code, a lazy-loader entry point, and type definitions for JSX, Vue, Svelte and SolidJS projects. A React Wrappers tool creates React-compatible components from custom elements, and an Expanded Types plugin parses TypeScript types for the other tools. It is aimed at developers who publish or use web component libraries, and the repository lists each tool with a short description.…
Highlights
- Maps custom JSDoc tags into the manifest
- Carries inherited members from parent classes
- Generates React-compatible wrappers
- Creates VS Code and JetBrains editor data
- Type generators for Vue, Svelte, SolidJS and JSX
Ratings & Reviews
No ratings yet
Be the first to rate custom-element-vs-code-integration.
People also visit
custom-element-vs-code-integration FAQ
What is CEM Tools built on?
The Custom Elements Manifest. The tools take its data as input to add features to it or to generate files from it.
Who is it for?
Developers who build or use custom elements and want better editor support, typings or framework wrappers for React, Vue, Svelte or SolidJS.
Which editors are supported?
VS Code, through HTML and CSS data files, and JetBrains IDEs, through a generated web-types.json file.
Which tool creates React components?
The React Wrappers tool generates React-compatible wrappers for custom elements from the manifest data.
How do I start?
Each tool is a separate part of the repository. Pick the ones you need from the list on the GitHub page.
What are the best custom-element-vs-code-integration alternatives?
Popular alternatives to custom-element-vs-code-integration include @vscode-elements/elements, preact-custom-element and @webcomponents/custom-elements. See all custom-element-vs-code-integration alternatives














