Vue3 + typescript (vue-cli-service): How to create Vue NPM library? #7222
-
Hi, nice to meet you! https://github.com/skyhos/vue-lib-test-1 But there are problems which I guess is related to typescript declaration or exporting. Anyway, let me explain the detail: I created a library project:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
[Vue warn]: Failed to resolve component: HelloWorld |
Beta Was this translation helpful? Give feedback.
[Vue warn]: Failed to resolve component: HelloWorld
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.