Skip to content

How to register the type file of the component library when importing custom components #361

@xiyure

Description

@xiyure

I imported a custom component library through CDN, but due to special reasons, I am unable to publish a package with the same name as the component library on npm. However, I can publish it with a different name, so I cannot get type prompts when editing the code. What should I do to get type prompts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions