vue-pendo-loader
v1.0.1
Published
Easily load the Pendo into your Vue project
Downloads
11
Readme
Vue Pendo Loader
This project is a Vue.js plugin for integrating Pendo into your Vue applications. Pendo helps you understand and guide your users to create product experiences they love.
Table of Contents
Installation
To install the Vue Pendo Loader, you can use npm or yarn:
npm install vue-pendo-loader
or
yarn add vue-pendo-loader
Usage
First, import and use the plugin in your Vue application:
import Vue from 'vue';
import VuePendoLoader from 'vue-pendo-loader';
Vue.use(VuePendoLoader, {
apiKey: 'YOUR_PENDO_API_KEY',
});
Then, you can use Pendo in your components:
export default {
name: 'YourComponent',
mounted() {
this.$pendo.initialize();
},
};
Configuration
You need to provide your Pendo API key when initializing the plugin. You can also pass additional configuration options as needed.
Vue.use(VuePendoLoader, {
apiKey: 'YOUR_PENDO_API_KEY',
additionalOption: 'value',
});
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any bugs or feature requests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a pull request
License
This project is licensed under the MIT License. See the LICENSE file for details.