🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@aoexl/sign-vue

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aoexl/sign-vue

Vue 3 integration for Aoexl Sign PDF eSignature SDK

latest
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

@aoexl/sign-vue

Vue 3 integration for the Aoexl Sign PDF eSignature SDK.

Installation

npm install @aoexl/sign-vue @aoexl/sign
# peer dep
npm install vue

Quick start

<script setup>
import { AoexlSign } from '@aoexl/sign-vue'

const signers = [{ name: 'Jane Doe', email: 'jane@example.com', role: 'signer' }]

function onComplete({ signedPdfBytes, fields }) {
  console.log('Signing complete', fields)
  // upload signedPdfBytes to your server
}

function onError(err) {
  console.error('Signing error', err)
}
</script>

<template>
  <AoexlSign
    license-key="pk_live_xxxxxxxxxxxx"
    pdf-url="https://your-server.com/contract.pdf"
    mode="sign"
    :signers="signers"
    @complete="onComplete"
    @error="onError"
    style="height: 700px; display: block;"
  />
</template>

Global registration (Vue plugin)

// main.ts
import { createApp } from 'vue'
import AoexlSignPlugin from '@aoexl/sign-vue'
import App from './App.vue'

createApp(App).use(AoexlSignPlugin).mount('#app')

Now <AoexlSign> is available in every component without importing.

Props

PropTypeDefaultDescription
licenseKeystringRequired. Your Aoexl license key.
pdfUrlstringRequired. URL or data-URL of the PDF.
mode'prepare' | 'sign' | 'view''sign'Viewer mode.
signersSigner[][]Signer definitions.
fieldsField[][]Pre-placed fields (required in sign/view mode).
theme{ primary?: string; accent?: string }{}Color overrides.
workerSrcstringCustom PDF.js worker URL.

Events

EventPayloadDescription
completeCompleteResultFired when the user finishes signing / preparing.
errorErrorFired on any error (license, PDF load, etc.).

Modes

ModeDescription
prepareDrag and drop fields onto the PDF; emits complete with the field layout and signer list.
signPresent pre-placed fields for the signer to fill and sign.
viewRead-only rendering of a signed PDF.

TypeScript

import type { AoexlSignProps, Field, Signer, CompleteResult } from '@aoexl/sign-vue'

Building

npm run build   # outputs dist/aoexl-sign-vue.js (ESM) + dist/aoexl-sign-vue.cjs (CJS)

License

UNLICENSED — contact Aoexl for a commercial license.

FAQs

Package last updated on 14 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts