persona-vue
Vue bindings for the Persona Inquiry Flow JavaScript SDK.
9,940
| Install | |
|---|---|
npm install persona-vue |
|
| Latest Version: | 1.4.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Feb 17, 2026 |
| Links: | npm |
Maintainer: charlesyeh
Persona Inquiry Vue SDK
The official Vue bindings for the Persona Inquiry JavaScript SDK.
Table of Contents
- Persona Inquiry Vue SDK
Documentation
The module provides Vue bindings for the Persona embedded flow.
Getting Started
npm install persona-vue
To open the flow you must use the default export.
<script setup lang="ts">
import PersonaVue from 'persona-vue';
const onComplete = ({ inquiryId, status, fields }) => {
console.log('onComplete', { inquiryId, status, fields });
};
const onCancel = ({ inquiryId, sessionToken }) => {
console.log('onCancel', { inquiryId, sessionToken });
};
const onError = (error) => {
console.log('onError', error);
};
</script>
<template>
<PersonaVue
template-id="itmpl_Ygs16MKTkA6obnF8C3Rb17dm"
environment="sandbox"
@complete="onComplete"
@cancel="onCancel"
@error="onError"
/>
</template>
Contributing
Please see Contributing for guidelines and instructions for local development.
License
Version History
| Version | Released | License |
|---|---|---|
| 1.4.0 | MIT | |
| 1.3.0 | MIT | |
| 1.2.0 | MIT | |
| 1.1.0 | MIT | |
| 1.0.0 | MIT |