>>106936181
Easy
https://unpkg.com/
>Add a <script> tag with the unpkg cdn
>Add a <script> tag with type=importmap
<script type="importmap">
{
"imports": {
"preact": "https://unpkg.com/preact@10.25.4/dist/preact.module.js",
"preact/hooks": "https://unpkg.com/preact@10.25.4/hooks/dist/hooks.module.js",
"htm": "https://unpkg.com/htm@3.1.1/dist/htm.module.js"
}
}
</script>
Comment too long. Click here to view the full text.