@corbado/webcomponent
Advanced tools
Comparing version 1.0.12 to 1.0.13
{ | ||
"name": "@corbado/webcomponent", | ||
"version": "1.0.12", | ||
"version": "1.0.13", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "pkg/auth.js", |
@@ -1,7 +0,37 @@ | ||
# Local development | ||
### Installation | ||
``` | ||
npm i @corbado/webcomponent | ||
``` | ||
On host system: | ||
### How to use the web component | ||
`` | ||
task exec -- widget task build-dev | ||
`` | ||
#### Vue usage | ||
``` | ||
<template> | ||
<corbado-auth-provider | ||
endpoint="https://pro-1.auth.corbado.com" | ||
project_id="pro-1" | ||
> | ||
<corbado-auth | ||
endpoint="https://pro-1.auth.corbado.com" | ||
conditional="yes" | ||
project_id="pro-1" | ||
> | ||
<input | ||
id="corbado-username" | ||
autocomplete="webauthn" | ||
autofocus | ||
name="username" | ||
required | ||
value="" | ||
/> | ||
</corbado-auth> | ||
</corbado-auth-provider> | ||
</template> | ||
<script setup> | ||
import "@corbado/webcomponent" | ||
import "@corbado/webcomponent/pkg/auth_cui.css" | ||
</script> | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1695307
37