@connextlive/vue2
v0.2.0
Published
ConnextLive Vue 2 plugin
Maintainers
Readme
@connextlive/vue2
ConnextLive plugin for Vue 2 (2.7+).
Install
npm i @connextlive/vue2 @connextlive/coreUsage
import Vue from "vue"
import { ConnextVue2 } from "@connextlive/vue2"
Vue.use(ConnextVue2, { baseUrl: "https://app.connextlive.io", apiKey: "YOUR_API_KEY" })Config
| Option | Required | Description |
|---|---|---|
| baseUrl | yes | Your ConnextLive host, e.g. https://app.connextlive.io |
| apiKey | one of | Widget API key (or use siteId) |
| siteId | one of | Site id (alternative to apiKey) |
| autoInit | no | Auto-initialize on load (default true) |
| user | no | Identity { name, email, externalId, metadata } sent on init |
Identify a user
Connext.updateUser({ name: "Jane", email: "[email protected]", externalId: "u_123" })License
MIT — ConnextLive
