Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto import lit components #709

Open
3 tasks done
wangjiecamen opened this issue Oct 27, 2023 · 1 comment
Open
3 tasks done

Auto import lit components #709

wangjiecamen opened this issue Oct 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@wangjiecamen
Copy link

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

@wangjiecamen wangjiecamen added the enhancement New feature or request label Oct 27, 2023
@thewebkid
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants