Install
npm install --save @mcaptcha/svelte-glue
Usage
<script lang="ts">
import Widget from '@mcaptcha/svelte-glue';
const config = {
widgetLink: new URL('https://demo.mcaptcha.org/widget/?sitekey=foo')
};
</script>
<Widget {config} />
npm install --save @mcaptcha/svelte-glue
<script lang="ts">
import Widget from '@mcaptcha/svelte-glue';
const config = {
widgetLink: new URL('https://demo.mcaptcha.org/widget/?sitekey=foo')
};
</script>
<Widget {config} />
npm i @mcaptcha/svelte-glue
1
0.1.0-alpha-1
(MIT OR Apache-2.0)
422 kB
44