vue-pendo
Version:
This is a Vue 3.x.x plugin that will allow you to easily add Pendo to any Vue project.
49 lines (30 loc) • 928 B
Markdown
is a Vue 3.x.x plugin that will allow you to easily add Pendo to any Vue project.
```bash
npm install vue-pendo
```
Start using it in your Vue application.
```js
import { createApp } from 'vue'
import App from './App.vue'
import VuePendo from 'vue-pendo'
const app = createApp(App);
app.use(VuePendo, {
id: 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
});
app.mount("#app");
```
Your Pendo API Key is a required parameter. You can find this Key in Subscription Setting under Install Setting in Pendo application dashboard.
```js
id: 'b8b56dag-c5ef-4035-5g03-b07c0e8486ye'
```
If you would like to disable or enable tracking this parameter is of type boolean. This is an optional parameter and will default to `true` if not defined.
```js
isEnabled: true
```
This plugin is specifically intended for use with Vue version 3.
This