generate_import
Generates side-effect and named import statements for a web component tag using the library's Custom Elements Manifest.
Instructions
Generates import statements for a component based on the CEM exports and package.json. Returns both a side-effect import and a named import.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | No | Optional library ID to target a specific loaded library instead of the default. | |
| tagName | Yes | The custom element tag name (e.g. "my-button"). |