Auto import lit components
wangjiecamen opened this issue · comments
wangjiecamen commented
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
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Ron commented
This seems to overwrite the vue compilerOptions: isCustomElement setting. Have you found a workaround for this yet?