跳到內容

Lit

本頁內容尚未翻譯。

You can continue to use Lit for client components by adding a client-side script tag. For example:

<script>
import "../components/MyTabs";
</script>
<my-tabs title="These are my tabs">...</my-tabs>

If you’re interested in maintaining a Lit integration yourself, you may wish to use the last published version of @astrojs/lit as a starting point and upgrade the relevant packages.

貢獻

你有哪些想法?

社群