diff --git a/docs/README.md b/docs/README.md index 790741e..ca71849 100644 --- a/docs/README.md +++ b/docs/README.md @@ -35,7 +35,7 @@ mount(() => div([ button({ onclick: () => count(count()+1) }, count) ]), '#app') </script>
🔧 ESM + Global injection: If you want the global helpers but still use type="module", call sigpro().
<script type="module">
-import { sigpro } from 'https://cdn.jsdelivr.net/npm/sigpro@1.2.19/+esm';
+import { sigpro } from 'https://cdn.jsdelivr.net/npm/sigpro@latest/+esm';
sigpro(); // now $, div, button, etc. are global
</script>