@digital-passports/javascript-sdk
Version:
JavaScript SDK for interacting with the Digital Passport Hub REST API.
16 lines (13 loc) • 419 B
Markdown
# Vue.js Example
This example demonstrates how to use the Digital Passport Hub JavaScript SDK in a Vue.js application.
## Usage
1. Copy `App.vue` into your Vue project (e.g., `src/App.vue`).
2. Install the SDK:
```
npm install @digital-passports/javascript-sdk
```
3. Start your Vue app:
```
npm run serve
```
4. Enter your API key, then use the buttons to list or create passports.