unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

Auto import lit components

Open wangjiecamen opened this issue 2 years ago • 1 comments

Clear and concise description of the problem

Currently I need to import lit component explicitly so that it can be used in vue

<script setup lang="ts">
import "package/es/button";
</script>

<template>
<custom-button>click</custom-button>
</template>

Suggested solution

support to auto import lit components

Alternative

No response

Additional context

No response

Validations

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

wangjiecamen avatar Oct 27 '23 02:10 wangjiecamen

This seems to overwrite the vue compilerOptions: isCustomElement setting. Have you found a workaround for this yet?

thewebkid avatar Jan 12 '24 21:01 thewebkid