Vue.js Integration

Use the Vue SDK for a native Vue.js experience with composables and components.

Installation

Terminalbash
Loading...

Plugin Setup

Register the plugin in your Vue app:

main.jsjavascript
Loading...

useVerification Composable

The primary composable for managing verifications:

VerifyButton.vuevue
Loading...

OwlEyesVerification Component

For embedded verification flows:

VerificationPage.vuevue
Loading...

Modal Component

Use OwlEyesModal for an overlay experience:

VerifyWithModal.vuevue
Loading...

With Server Sessions

For production, create sessions on your backend:

SecureVerification.vuevue
Loading...
Best Practice
Always verify results on your backend via webhooks. Client-side results can be manipulated by malicious users.

Customizing Appearance

CustomizedVerification.vuevue
Loading...

TypeScript Support

TypeScriptExample.vuevue
Loading...

Nuxt.js Integration

For Nuxt.js projects, create a plugin:

plugins/owl-eyes.client.tstypescript
Loading...
nuxt.config.tstypescript
Loading...