180 shaares
1 result
tagged
this-was-useful
How to add client-side interactivity to Astro components using native browser JavaScript APIs.
From the docs:
You can add interactivity to your Astro components without using a UI framework like React, Svelte, Vue, etc. using standard HTML
<script>
tags.
π― This works as expected!